tokio::sync::Notify has the following methods:
pub fn notified(&self) -> Notified<'_>
pub fn notify_one(&self)
pub fn notify_last(&self)
pub fn notify_waiters(&self)
However, loom::sync::Notify only has:
pub fn notify(&self)
pub fn wait(&self)
The API is different and missing. This makes it difficult to perform some in-place replacements.