Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
prcmon.h File Reference
#include "prmon.h"
#include "prinrval.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

PR_BEGIN_EXTERN_C NSPR_API (PRMonitor *) PR_CEnterMonitor(void *address)
 Like PR_EnterMonitor except use the "address" to find a monitor in the monitor cache.
 NSPR_API (PRStatus) PR_CExitMonitor(void *address)
 NSPR_API (void) PR_CSetOnMonitorRecycle(void(PR_CALLBACK *callback)(void *address))
 Prototypes for machine dependent function implementations.

Variables

PRIntervalTime timeout

Function Documentation

Like PR_EnterMonitor except use the "address" to find a monitor in the monitor cache.

If successful, returns the PRMonitor now associated with "address". Note that you must PR_CExitMonitor the address to release the monitor cache entry (otherwise the monitor cache will fill up). This call will return NULL if the monitor cache needs to be expanded and the system is out of memory.

NSPR_API ( void  )

Prototypes for machine dependent function implementations.

(Too bad NSPR's MD system blows so much that we have to reiterate every stinking thing we implement here in our MD header file.)


Variable Documentation

Definition at line 76 of file prcmon.h.