about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-15 22:19:34 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-24 19:59:54 -0800
commit962af9198f8f2a1e2d5121ac216b6f4d574ae54c (patch)
treef990add092e17494929ab8c875254009f58ba069 /src/rustllvm/RustWrapper.cpp
parent04c446b4b66068a6742d29cd34326e520373f83e (diff)
downloadrust-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