Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PR_NewMonitor

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:

  • If successful, a pointer to a PRMonitor object.
  • If unsuccessful (for example, if some operating system resource is unavailable), NULL.

Description

A newly created monitor has an entry count of zero.

Document Tags and Contributors

 Contributors to this page: teoli, Rappo
 Last updated by: teoli,