Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

shm_locking.h

Go to the documentation of this file.
00001 
00013 /* {{{ Initial headers */
00014 /*
00015  * $LastChangedDate: 2003-11-27 01:55:17 +0100 (Thu, 27 Nov 2003) $
00016  * $LastChangedRevision: 5 $
00017  * $LastChangedBy: ckruse $
00018  *
00019  */
00020 /* }}} */
00021 
00022 #ifndef __CF_SHM_LOCKING_H
00023 #define __CF_SHM_LOCKING_H
00024 
00025 #ifdef CF_SHARED_MEM
00026 
00027 #define CF_LOCK_SEM   0 
00028 #define CF_READER_SEM 1 
00029 #define CF_WRITER_SEM 2 
00036 int shm_lock_exclusive(int semid);
00037 
00043 int shm_unlock_exclusive(int semid);
00044 
00045 
00051 int shm_lock_shared(int semid);
00052 
00058 int shm_unlock_shared(int semid);
00059 
00060 #endif
00061 #endif
00062 
00063 /* eof */

Generated on Sun Apr 25 16:37:39 2004 for Classic Forum by doxygen 1.3.5