Creates a new monitor object. The caller is responsible for the object and is expected to destroy it when appropriate.

Syntax

#include <prmon.h>

PRMonitor* PR_NewMonitor(void);

Returns

The function returns one of the following values:

Description

A newly created monitor has an entry count of zero.