-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Use the parking_lot locking primitives #56410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
7b0ad27
Add parking_lot as submodule
faern 1aab11d
Exclude parking_lot benchmark crate from root workspace
faern e313500
Add needed winapi bindings
faern 20ab8d2
Use parking_lot::RawRwLock in panicking module
faern 7cafa6d
Use parking_lot::RawRwLock to implement std::sync::RwLock
faern 7c42fc8
Remove unused sys/sys_common::rwlock
faern 3b23add
Use parking_lot::ReentrantMutex in stdio
faern f58fc9b
Use parking_lot::Mutex for stdin
faern 81a1e21
Remove unused sys/sys_common ReentrantMutex
faern 5a3dd8a
Base Mutex/Condvar on parking_lot primitives
faern d354b95
Remove unused sys/sys_common::condvar
faern 8edc128
Remove Mutex init, try_lock, raw_unlock and destroy
faern 4f0f8e1
Remove sys/sys_common::mutex::raw functions
faern a0b366c
Add sync::RawMutex
faern 8dfad4b
Move io::lazy over to RawMutex
faern d6fab63
Move std::time over to RawMutex
faern fc379ee
Move at_exit over to RawMutex
faern 142bda2
Move thread_local over to RawMutex
faern eaaca60
Move thread over to RawMutex
faern 0d679ef
Move unix::args over to RawMutex
faern e8e355e
Move unix::os over to RawMutex
faern 55f1ed2
Fix unix fork locking to work with parking_lot
faern c6c6fb1
Use RawMutex in backtrace
faern f1a805b
Remove unused sys/sys_common::mutex
faern 0b1a6e9
Lock locks outside unsafe blocks
faern a562580
Use sys_common::mutex in sys::windows::process
faern b50a20e
Remove unused sys::c items from Windows
faern 6ad5485
Remove unused sgx waitqueue types
faern 0070390
Convert thread parking to use parking_lot primitives
faern c294204
Move redox::args over to RawMutex
faern c301ce0
Make redox::os use RawMutex
faern dd30a55
Remove wasi locking modules
faern e0fd309
Make cloudabi::abi module public inside libstd
faern 0048440
Update SGX libunwind FFI interface to use new RwLock
faern e49bbd1
Make Lazy::get not unsafe any more
faern f40d609
Base Once on parking_lot::Once
faern 56c2805
Add better documentation for RawMutex
faern 7124cae
Improve Lazy documentation
faern 6695be8
Base park/unpark directly on parking_lot_core
faern 795285f
Fix park/unpark after feedback
faern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Fix park/unpark after feedback
- Loading branch information
commit 795285f259caa8c646b9a78cad2350ad59270c5a
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.