source: trunk/include/sh_sem.h@ 518

Last change on this file since 518 was 481, checked in by katerina, 9 years ago

Enhancements and fixes for tickets #374, #375, #376, #377, #378, and #379.

File size: 253 bytes
Line 
1#ifndef SH_SEM_H
2#define SH_SEM_H
3
4#define SH_SEM_LOCK -1
5#define SH_SEM_UNLOCK 1
6
7void sh_sem_open();
8void sh_sem_trylock();
9void sh_sem_lock();
10void sh_sem_unlock(long val);
11void sh_sem_close();
12
13int sh_sem_wait(const char * wait);
14#endif
Note: See TracBrowser for help on using the repository browser.