-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move implementation for threads to Rust
This binds to the appropriate pthreads_* and Windows specific functions and calls them from Rust. This allows for removal of the C++ support code for threads. Fixes #10162
- Loading branch information
Showing
7 changed files
with
153 additions
and
181 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
Oops, something went wrong.
47e0bd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at https://github.com/dbussink/rust/commit/47e0bd403a04d26506f723ac44ee9ea0aa5d3ad5
47e0bd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging dbussink/rust/thread_in_rust = 47e0bd4 into auto
47e0bd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dbussink/rust/thread_in_rust = 47e0bd4 merged ok, testing candidate = 7fb583b
47e0bd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2336
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-c/builds/182
success: http://buildbot.rust-lang.org/builders/auto-mac-32-nopt-t/builds/182
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2340
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1445
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2354
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2355
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1522
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/2340
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1444
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1446
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/2118
47e0bd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 7fb583b