about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2015-08-13 21:58:20 -0700
committerSteven Fackler <sfackler@gmail.com>2015-08-19 17:00:15 -0700
commit42a386fcf89a40e6c3a8806ccf381514c2a77c10 (patch)
treee77742b5cb6447176ebb66c91fdb4981c0cc6336 /src/rustllvm/RustWrapper.cpp
parentaca2057ed5fb7af3f8905b2bc01f72fa001c35c8 (diff)
downloadrust-42a386fcf89a40e6c3a8806ccf381514c2a77c10.tar.gz
rust-42a386fcf89a40e6c3a8806ccf381514c2a77c10.zip
Make Condvar::wait_timeout return an enum instead of a bool
Returning a primitive bool results in a somewhat confusing API - does
`true` indicate success - i.e. no timeout, or that a timeout has
occurred? An explicitly named enum makes it clearer.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions