diff options
| author | bors <bors@rust-lang.org> | 2014-07-24 02:16:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-24 02:16:13 +0000 |
| commit | 221c28a08858f07cb3bb830834afd071fec840da (patch) | |
| tree | 8357d28df633d217c1fd1ee72a1630c9277c335e /src/rustllvm/RustWrapper.cpp | |
| parent | 2224edcfe16ff798fcfa6f21a339822cb8b0f7ba (diff) | |
| parent | 3419e20f3b0800d40a4e33d47da7051d142e62ce (diff) | |
| download | rust-221c28a08858f07cb3bb830834afd071fec840da.tar.gz rust-221c28a08858f07cb3bb830834afd071fec840da.zip | |
auto merge of #15781 : alexcrichton/rust/issue-15758, r=bblum
Semaphores are not currently designed to handle this case correctly, leading to very strange behavior. Semaphores as written are intended to count *resources* and it's not possible to have a negative number of resources. This alters the behavior and documentation to note that the task will be failed if the initial count is 0. Closes #15758
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
