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