Back to index
|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. |
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.
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.)