]> git.lizzy.rs Git - rust.git/commit
Auto merge of #43766 - michaelwoerister:trans-scheduler-touch-up, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 11 Aug 2017 22:23:10 +0000 (22:23 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 Aug 2017 22:23:10 +0000 (22:23 +0000)
commit8da3ff3fcc1a86af5984b28e939d74e51956c729
treee6b4307a39c41a6dc4a11be00ce4b1f18677f4b4
parenta7e0d3a81f224649c8fcfc8ac3cb93f1e1107bea
parent07149e03f45194a8fdb12c616c1f221d5186e1e5
Auto merge of #43766 - michaelwoerister:trans-scheduler-touch-up, r=alexcrichton

Improve LLVM/trans scheduling a bit

Currently it's possible that the main thread is waiting on LLVM threads to finish work while its implicit token is going to waste. This PR let's the main thread take over, so one of the running LLVM threads can free its token earlier.

r? @alexcrichton