diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-18 08:22:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-18 08:22:16 +0200 |
commit | 26821b7e2eff4a7db22606f70daa3f3d442f7525 (patch) | |
tree | a4a200aae77034d7e5d61dc914ca5c3a85b6c0d8 /include/osl | |
parent | 6b7c23b3fb6175c04fcc3f1e12b34bedf5f4e5f8 (diff) |
tdf#84323: Make osl::Condition::wait more readable
Change-Id: Icd66ae1d390100549f903d45b2896cdcdca449be
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/conditn.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osl/conditn.hxx b/include/osl/conditn.hxx index 0859a1419bd6..8bb37e307f2d 100644 --- a/include/osl/conditn.hxx +++ b/include/osl/conditn.hxx @@ -80,6 +80,10 @@ namespace osl return (Result) osl_waitCondition(condition, pTimeout); } +#if defined LIBO_INTERNAL_ONLY + Result wait(TimeValue const & timeout) { return wait(&timeout); } +#endif + /** Checks if the condition is set without blocking. */ bool check() |