CondVar Vanilla condition variable.
More...
#include <CondVar.h>
List of all members.
Detailed Description
CondVar Vanilla condition variable.
Please don't use this unless you have a compelling reason --- Monitor provides a better API.
Constructor & Destructor Documentation
| mozilla::CondVar::CondVar |
( |
Mutex & |
aLock, |
|
|
const char * |
aName | |
|
) |
| | [inline] |
CondVar.
The CALLER owns |lock|.
- Parameters:
-
| aLock | A Mutex to associate with this condition variable. |
| aName | A name which can reference this monitor |
- Returns:
- If failure, nsnull. If success, a valid Monitor* which must be destroyed by Monitor::DestroyMonitor()
| mozilla::CondVar::~CondVar |
( |
|
) |
[inline] |
~CondVar Clean up after this CondVar, but NOT its associated Mutex.
Member Function Documentation
| void mozilla::CondVar::AssertCurrentThreadOwnsMutex |
( |
|
) |
[inline] |
| void mozilla::CondVar::AssertNotCurrentThreadOwnsMutex |
( |
|
) |
[inline] |
| nsresult mozilla::CondVar::Notify |
( |
|
) |
[inline] |
Notify.
- See also:
- prcvar.h
| nsresult mozilla::CondVar::NotifyAll |
( |
|
) |
[inline] |
NotifyAll.
- See also:
- prcvar.h
The documentation for this class was generated from the following file: