Add mutex fixme
This commit is contained in:
parent
4e328c2f7a
commit
be12fa9a19
|
@ -6,6 +6,7 @@ class Mutex {
|
|||
public:
|
||||
Mutex(const char* name) : name_(name) {}
|
||||
|
||||
// FIXME: Block thread on lock rather than "preempting"
|
||||
void Lock();
|
||||
void Unlock() { lock_ = false; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue