diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-12-15 22:19:34 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-24 19:59:54 -0800 |
| commit | 962af9198f8f2a1e2d5121ac216b6f4d574ae54c (patch) | |
| tree | f990add092e17494929ab8c875254009f58ba069 /src/rustllvm/RustWrapper.cpp | |
| parent | 04c446b4b66068a6742d29cd34326e520373f83e (diff) | |
| download | rust-962af9198f8f2a1e2d5121ac216b6f4d574ae54c.tar.gz rust-962af9198f8f2a1e2d5121ac216b6f4d574ae54c.zip | |
native: Protect against spurious wakeups on cvars
This is a very real problem with cvars on normal systems, and all of channels will not work if spurious wakeups are accepted. This problem is just solved with a synchronized flag (accessed in the cvar's lock) to see whether a signal() actually happened or whether it's spurious.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
