-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
835: channel: Replace Spinlock with Mutex r=ibraheemdev a=taiki-e Addresses one of `@thomcc's` reviews in rust-lang/rust#93563 (comment) (sorry for the late response!) Historically, the use of spinlock was introduced when the dependency on parking_lot was removed (5208895). However, given that it is used in Waker, which includes vectors that may be reallocated, using mutex seems to be the right choice here. r? `@ibraheemdev` bors d=ibraheemdev Co-authored-by: Taiki Endo <te316e89@gmail.com>
- Loading branch information
Showing
3 changed files
with
44 additions
and
88 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