Implemented nmem_critical_{enter,leave}.
[yaz-moved-to-github.git] / include / nmem.h
index 6ae6ee4..09b1149 100644 (file)
  * OF THIS SOFTWARE.
  *
  * $Log: nmem.h,v $
- * Revision 1.8  1998-07-20 12:35:59  adam
+ * Revision 1.9  1998-10-13 16:00:17  adam
+ * Implemented nmem_critical_{enter,leave}.
+ *
+ * Revision 1.8  1998/07/20 12:35:59  adam
  * Added more memory diagnostics (when NMEM_DEBUG is 1).
  *
  * Revision 1.7  1997/10/31 12:20:08  adam
@@ -69,6 +72,9 @@ YAZ_EXPORT void nmem_reset(NMEM n);
 YAZ_EXPORT int nmem_total(NMEM n);
 YAZ_EXPORT char *nmem_strdup (NMEM mem, const char *src);
 
+YAZ_EXPORT void nmem_critical_enter (void);
+YAZ_EXPORT void nmem_critical_leave (void);
+
 #if NMEM_DEBUG
 
 YAZ_EXPORT NMEM nmem_create_f(const char *file, int line);