diff options
| author | Michael Bebenita <[email protected]> | 2010-08-09 07:04:38 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-08-09 07:04:38 -0700 |
| commit | d2c2fbe7ca25affb69715a39922a91875eaad9c7 (patch) | |
| tree | f9e987106358b83d06ddc00c6f8c2a459e67885a /src/rt/sync/condition_variable.h | |
| parent | Changed seemingly incorrect stk_field_valgrind_id. (diff) | |
| download | rust-d2c2fbe7ca25affb69715a39922a91875eaad9c7.tar.xz rust-d2c2fbe7ca25affb69715a39922a91875eaad9c7.zip | |
Added timed_wait to condition variables.
Diffstat (limited to 'src/rt/sync/condition_variable.h')
| -rw-r--r-- | src/rt/sync/condition_variable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/sync/condition_variable.h b/src/rt/sync/condition_variable.h index f847ef99..f336a7f2 100644 --- a/src/rt/sync/condition_variable.h +++ b/src/rt/sync/condition_variable.h @@ -13,6 +13,7 @@ public: virtual ~condition_variable(); void wait(); + void timed_wait(size_t timeout_in_ns); void signal(); }; |