OSSP CVS Repository

ossp - Difference in ossp-pkg/mm/mm.pod versions 1.28 and 1.29
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/mm/mm.pod 1.28 -> 1.29

--- mm.pod       2006/06/10 21:14:02     1.28
+++ mm.pod       2006/06/10 21:25:54     1.29
@@ -60,6 +60,7 @@
 
  int     MM_create(size_t size, const char *file);
  int     MM_permission(mode_t mode, uid_t owner, gid_t group);
+ void    MM_reset(void);
  void    MM_destroy(void);
  int     MM_lock(mm_lock_mode mode);
  int     MM_unlock(void);
@@ -77,6 +78,7 @@
 
  MM     *mm_create(size_t size, char *file);
  int     mm_permission(MM *mm, mode_t mode, uid_t owner, gid_t group);
+ void    mm_reset(MM *mm);
  void    mm_destroy(MM *mm);
  int     mm_lock(MM *mm, mm_lock_mode mode);
  int     mm_unlock(MM *mm);
@@ -307,6 +309,12 @@
 implementation is actually based on external auxiliary files).  The arguments
 are directly passed through to chmod(2) and chown(2).
 
+=item void B<MM_reset>(void);
+
+This resets the global shared memory pool: all chunks that have been
+allocated in the pool are marked as free and are eligible for reuse. The
+global memory pool itself is not destroyed.
+ 
 =item void B<MM_destroy>(void);
 
 This destroys the global shared memory pool and should be called I<after> all
@@ -395,6 +403,12 @@
 implementation is actually based on external auxiliary files).  The arguments
 are directly passed through to chmod(2) and chown(2).
 
+=item void B<mm_reset>(MM *I<mm>);
+
+This resets the shared memory pool I<mm>: all chunks that have been
+allocated in the pool are marked as free and are eligible for reuse. The
+memory pool itself is not destroyed.
+
 =item void B<mm_destroy>(MM *I<mm>);
 
 This destroys the complete shared memory pool I<mm> and with it all chunks

CVSTrac 2.0.1