Warning
This project is currently under development, and things might change rapidly.
The behavior of these locks is similar to their counterparts in std::sync, but with a few key differences.
- Locks are not poisoned if a thread panics while holding them.
- Threads encountering an unavailable lock will busy-wait in a loop until it's available, without yielding. |
Note
All contributions to this project must comply with the Rust standard licensing model MIT OR Apache 2.0 and will be dual-licensed accordingly, without additional terms or conditions.
This project is dual licensed and distributed under the terms of MIT OR Apache 2.0.
Apache 2.0─LICENSE-APACHE─ https://www.apache.org/licenses/LICENSE-2.0MIT─LICENSE-MIT─ https://opensource.org/license/mit