Equivalent of the WebAssembly `memory.atomic.wait64` instruction for this shared memory. For more information see [`SharedMemory::atomic_wait32`]. # Errors Returns the same error as [`SharedMemory::atomic_wait32`] except that the specified address must be 8-byte aligned instead of 4-byte aligned.
(
&self,
addr: u64,
expected: u64,
timeout: Option<Duration>,
)
| 1050 | /// Returns the same error as [`SharedMemory::atomic_wait32`] except that |
| 1051 | /// the specified address must be 8-byte aligned instead of 4-byte aligned. |
| 1052 | pub fn atomic_wait64( |
| 1053 | &self, |
| 1054 | addr: u64, |
| 1055 | expected: u64, |
| 1056 | timeout: Option<Duration>, |
| 1057 | ) -> Result<WaitResult, Trap> { |
| 1058 | self.vm.atomic_wait64(addr, expected, timeout) |
| 1059 | } |
| 1060 | |
| 1061 | /// Return a reference to the [`Engine`] used to configure the shared |
| 1062 | /// memory. |
no outgoing calls