Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

sem_utils.h

00001 /*-
00002  * Copyright (c) 2004-2005
00003  *      Sleepycat Software.  All rights reserved.
00004  *
00005  * http://www.apache.org/licenses/LICENSE-2.0.txt
00006  * 
00007  * authors: George Schlossnagle <[email protected]>
00008  */
00009 
00010 #ifndef MOD_DB4_SEM_UTILS_H
00011 #define MOD_DB4_SEM_UTILS_H
00012 
00013 extern int md4_sem_create(int semnum, unsigned short *start);
00014 extern void md4_sem_destroy(int semid);
00015 extern void md4_sem_lock(int semid, int semnum);
00016 extern void md4_sem_unlock(int semid, int semnum);
00017 extern void md4_sem_wait_for_zero(int semid, int semnum);
00018 extern void md4_sem_set(int semid, int semnum, int value);
00019 extern int md4_sem_get(int semid, int semnum);
00020 
00021 /* vim: set ts=4 sts=4 expandtab bs=2 ai : */
00022 #endif

Generated on Sun Dec 25 12:14:41 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2