forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust/kernel/sync: Introduce
BoxedMutex
and BoxedCondVar
Introduce `Boxed` flavours of `Mutex` and `CondVar`. These flavours do not force users to keep them `Pin`ned. Which means users no longer need to make complex `Pin` inferences, or use `unsafe` blocks simply to use `Mutex` or `CondVar`. Signed-off-by: Sven Van Asbroeck <[email protected]>
- Loading branch information
Sven Van Asbroeck
committed
Jun 10, 2021
1 parent
5dd07d5
commit cdc5556
Showing
4 changed files
with
245 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters