diff options
Diffstat (limited to 'src/components/include/utils/conditional_variable.h')
-rw-r--r-- | src/components/include/utils/conditional_variable.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/include/utils/conditional_variable.h b/src/components/include/utils/conditional_variable.h index 58119a0cfd..f7159ad6fe 100644 --- a/src/components/include/utils/conditional_variable.h +++ b/src/components/include/utils/conditional_variable.h @@ -1,4 +1,4 @@ -/** +/* * Copyright (c) 2013, Ford Motor Company * All rights reserved. * @@ -43,6 +43,7 @@ namespace sync_primitives { class AutoLock; +class Lock; namespace impl { #if defined(OS_POSIX) @@ -81,6 +82,7 @@ class ConditionalVariable { // Wait forever or up to milliseconds time limit void Wait(AutoLock& auto_lock); + void Wait(Lock& lock); WaitStatus WaitFor(AutoLock& auto_lock, int32_t milliseconds); private: impl::PlatformConditionalVariable cond_var_; |