Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
spin - Rust
[go: Go Back, main page]

Crate spin

source ·
Expand description

Synchronization primitives based on spinning

Structs

This type provides MUTual EXclusion based on spinning.
A guard to which the protected data can be accessed
A synchronization primitive which can be used to run a one-time global initialization. Unlike its std equivalent, this is generalized so that The closure returns a value and it is stored. Once therefore acts something like 1a future, too.
A reader-writer lock
A guard to which the protected data can be read
A guard to which the protected data can be written