diff options
author | cls%seawood.org <devnull@localhost> | 1999-09-21 19:43:25 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-09-21 19:43:25 +0000 |
commit | 9ce4bea03c3a88e57f210e4689854e5e7c2345f9 (patch) | |
tree | f5a406a85856f80ccf7bda458f1f40bcfbca2075 | |
parent | 0e8dcdc6ff9cec13b0d61d81d6035262ac91a69d (diff) | |
download | nspr-hg-unlabeled-3.2.24.tar.gz |
Sync'd with the HEAD branch again.unlabeled-3.2.24
-rw-r--r-- | pr/include/prcmon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pr/include/prcmon.h b/pr/include/prcmon.h index 2ca0816c..8d4328b8 100644 --- a/pr/include/prcmon.h +++ b/pr/include/prcmon.h @@ -68,6 +68,12 @@ PR_EXTERN(PRStatus) PR_CNotify(void *address); */ 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___ */ |