Sync'd with the HEAD branch again. unlabeled-3.2.24
authorcls%seawood.org
Tue, 21 Sep 1999 19:43:25 +0000
branchunlabeled-3.2.24
changeset 818 4eeefa3767d1
parent 807 36fd93671a5b
push idunknown
push userunknown
push dateunknown
Sync'd with the HEAD branch again.
pr/include/prcmon.h
--- a/pr/include/prcmon.h
+++ b/pr/include/prcmon.h
@@ -63,11 +63,17 @@ PR_EXTERN(PRStatus) PR_CWait(void *addre
 PR_EXTERN(PRStatus) PR_CNotify(void *address);
 
 /*
 ** Like PR_NotifyAll except use the "address" to find a monitor in the
 ** monitor cache.
 */
 PR_EXTERN(PRStatus) PR_CNotifyAll(void *address);
 
+/*
+** Set a callback to be invoked each time a monitor is recycled from the cache
+** freelist, with the monitor's cache-key passed in address.
+*/
+PR_EXTERN(void) PR_CSetOnMonitorRecycle(void (*callback)(void *address));
+
 PR_END_EXTERN_C
 
 #endif /* prcmon_h___ */