Equivalent of the WebAssembly `memory.atomic.notify` instruction for this shared memory. This method allows embedders to notify threads blocked on the specified `addr`, an index into wasm linear memory. Threads could include wasm threads blocked on a `memory.atomic.wait*` instruction or embedder threads blocked on [`SharedMemory::atomic_wait32`], for example. The `count` argument is the number o
(&self, addr: u64, count: u32)
| 995 | /// This function will return an error if `addr` is not within bounds or |
| 996 | /// not aligned to a 4-byte boundary. |
| 997 | pub fn atomic_notify(&self, addr: u64, count: u32) -> Result<u32, Trap> { |
| 998 | self.vm.atomic_notify(addr, count) |
| 999 | } |
| 1000 | |
| 1001 | /// Equivalent of the WebAssembly `memory.atomic.wait32` instruction for |
| 1002 | /// this shared memory. |
no outgoing calls