kernel/condition_variable: Add a ConditionVariable::EntriesCount() routine.
Will be useful in changing the XSI subsystems to use condvars.
This commit is contained in:
parent
484bf053dc
commit
d8e4f52b78
@ -65,6 +65,7 @@ public:
|
||||
static void NotifyAll(const void* object, status_t result);
|
||||
|
||||
void Add(ConditionVariableEntry* entry);
|
||||
int32 EntriesCount() { return atomic_get(&fEntriesCount); }
|
||||
|
||||
// Convenience methods, no ConditionVariableEntry required.
|
||||
status_t Wait(uint32 flags = 0, bigtime_t timeout = 0);
|
||||
|
Loading…
Reference in New Issue
Block a user