Fixed a missing parameter in Lock2::lock() spotted by Allan. Thanks!
git-svn-id: http://yate.null.ro/svn/yate/trunk@2933 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
7b122c9741
commit
3a41506f48
|
@ -3918,7 +3918,7 @@ public:
|
|||
* @return True on success - both locked
|
||||
*/
|
||||
inline bool lock(Mutex& mx1, Mutex& mx2, long maxwait = -1)
|
||||
{ return lock(&mx1,&mx2); }
|
||||
{ return lock(&mx1,&mx2,maxwait); }
|
||||
|
||||
/**
|
||||
* Unlock both mutexes if they were locked and drop the references
|
||||
|
|
Loading…
Reference in New Issue