about summary refs log tree commit diff
path: root/src/libsyntax/util/parser_testing.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-01-17 03:51:34 +0000
committerbors <bors@rust-lang.org>2015-01-17 03:51:34 +0000
commit378fb5846d2d8dbc5ab24a5e92794c5c39d492dc (patch)
tree5e01516c301e9534e68a8d929edfca1e6d75c3b5 /src/libsyntax/util/parser_testing.rs
parented530d7a3b67989047e6fe61fe101b9d8158585f (diff)
parent08f6380a9f0b866796080094f44fe25ea5636547 (diff)
downloadrust-378fb5846d2d8dbc5ab24a5e92794c5c39d492dc.tar.gz
rust-378fb5846d2d8dbc5ab24a5e92794c5c39d492dc.zip
auto merge of #21132 : sfackler/rust/wait_timeout, r=alexcrichton
**The implementation is a direct adaptation of libcxx's condition_variable implementation.**

I also added a wait_timeout_with method, which matches the second overload in C++'s condition_variable. The implementation right now is kind of dumb but it works. There is an outstanding issue with it: as is it doesn't support the use case where a user doesn't care about poisoning and wants to continue through poison.

r? @alexcrichton @aturon 
Diffstat (limited to 'src/libsyntax/util/parser_testing.rs')
0 files changed, 0 insertions, 0 deletions