semlib.h

00001 /* 
00002    EyeDB Object Database Management System
00003    Copyright (C) 1994-2008 SYSRA
00004    
00005    EyeDB is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2.1 of the License, or (at your option) any later version.
00009    
00010    EyeDB is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014    
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with this library; if not, write to the Free Software
00017    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA 
00018 */
00019 
00020 /*
00021    Author: Eric Viara <viara@sysra.com>
00022 */
00023 
00024 
00025 #ifndef _EYEDBLIB_SEMLIB_H
00026 #define _EYEDBLIB_SEMLIB_H
00027 
00028 extern int
00029   ut_sem_create(int key),
00030   ut_sem_rm(int id),
00031   ut_sem_open(int key),
00032   ut_sem_close(int id),
00033   ut_sem_wait(int id),
00034   ut_sem_condwait(int id1, int id2),
00035   ut_sem_timedwait(int id, int msecs),
00036   ut_sem_timedcondwait(int id1, int id2, int msecs),
00037   ut_sem_signal(int id),
00038   ut_sem_lock(int id),
00039   ut_sem_unlock(int id),
00040   ut_sem_timedlock(int id, int msecs),
00041   ut_sem_get(int id),
00042   ut_sem_set(int id, int val),
00043 
00044   ut_sem_createSX(int key),
00045   ut_sem_openSX(int key),
00046   ut_sem_lockS(int id),
00047   ut_sem_lockX(int id),
00048   ut_sem_unlockS(int id),
00049   ut_sem_unlockX(int id),
00050 
00051   ut_sem_find(int *pkey, int sx);
00052 
00053 #endif

Generated on Mon Dec 22 18:16:07 2008 for eyedb by  doxygen 1.5.3