Creates a new monitor object. The caller is responsible for the object and is expected to destroy it when appropriate.
#include <prmon.h> PRMonitor* PR_NewMonitor(void);
The function returns one of the following values:
- If successful, a pointer to a
- If unsuccessful (for example, if some operating system resource is unavailable),
A newly created monitor has an entry count of zero.
Document Tags and Contributors
Last updated by: teoli,