Add mutex fixme
This commit is contained in:
parent
4e328c2f7a
commit
be12fa9a19
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue