1 /***************************************************************************
2 * Copyright 1995, Technion, Israel Institute of Technology
3 * Electrical Eng, Software Lab.
4 * Author: Michael Veksler.
5 ***************************************************************************
7 * Purpose: Handle semaphores for shared memory operations.
8 ***************************************************************************
11 #ifndef __WINE_SHM_SEMAPH_H
12 #define __WINE_SHM_SEMAPH_H
13 /* IMPORTANT: If possible, restrict usage of these functions. */
19 void shm_read_wait(shm_sem semid);
20 void shm_write_wait(shm_sem semid);
21 void shm_write_signal(shm_sem semid);
22 void shm_read_signal(shm_sem semid);
23 void shm_sem_init(shm_sem *semptr);
24 void shm_sem_done(shm_sem *semptr);
26 #endif /* CONFIG_IPC */
28 #endif /* __WINE_SHM_SEMAPH_H */