| Index: runtime/vm/os_thread.h
|
| diff --git a/runtime/vm/os_thread.h b/runtime/vm/os_thread.h
|
| index ce22b2b0511d40ce1f84d95a987648f765508ab9..2ca6a7c8f4743912aa9790b8828506e8e6199bdc 100644
|
| --- a/runtime/vm/os_thread.h
|
| +++ b/runtime/vm/os_thread.h
|
| @@ -267,7 +267,7 @@ class Mutex {
|
| ~Mutex();
|
|
|
| void Lock();
|
| - bool TryLock();
|
| + bool TryLock(); // Returns false if lock is busy and locking failed.
|
| void Unlock();
|
|
|
| #if defined(DEBUG)
|
| @@ -303,6 +303,7 @@ class Monitor {
|
| Monitor();
|
| ~Monitor();
|
|
|
| + bool TryEnter(); // Returns false if lock is busy and locking failed.
|
| void Enter();
|
| void Exit();
|
|
|
|
|