Trait wasmer::externals::memory::SharedMemoryOps
source · pub(crate) trait SharedMemoryOps {
// Provided methods
fn disable_atomics(&self) -> Result<(), MemoryError> { ... }
fn wake_all_atomic_waiters(&self) -> Result<(), MemoryError> { ... }
fn notify(
&self,
_dst: MemoryLocation,
_count: u32
) -> Result<u32, AtomicsError> { ... }
fn wait(
&self,
_dst: MemoryLocation,
_timeout: Option<Duration>
) -> Result<u32, AtomicsError> { ... }
}
Expand description
See SharedMemory
.
Provided Methods§
sourcefn disable_atomics(&self) -> Result<(), MemoryError>
fn disable_atomics(&self) -> Result<(), MemoryError>
sourcefn wake_all_atomic_waiters(&self) -> Result<(), MemoryError>
fn wake_all_atomic_waiters(&self) -> Result<(), MemoryError>
sourcefn notify(&self, _dst: MemoryLocation, _count: u32) -> Result<u32, AtomicsError>
fn notify(&self, _dst: MemoryLocation, _count: u32) -> Result<u32, AtomicsError>
See SharedMemory::notify
.
sourcefn wait(
&self,
_dst: MemoryLocation,
_timeout: Option<Duration>
) -> Result<u32, AtomicsError>
fn wait( &self, _dst: MemoryLocation, _timeout: Option<Duration> ) -> Result<u32, AtomicsError>
See SharedMemory::wait
.