source:
trunk/include/sh_sem.h@
587
| Last change on this file since 587 was 481, checked in by , 10 years ago | |
|---|---|
| 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 | |
| 7 | void sh_sem_open(); |
| 8 | void sh_sem_trylock(); |
| 9 | void sh_sem_lock(); |
| 10 | void sh_sem_unlock(long val); |
| 11 | void sh_sem_close(); |
| 12 | |
| 13 | int sh_sem_wait(const char * wait); |
| 14 | #endif |
Note:
See TracBrowser
for help on using the repository browser.