Added possibility to load .stabs/.stabstr sections from PE dlls.
[wine] / include / shm_semaph.h
1 /***************************************************************************
2  * Copyright 1995, Technion, Israel Institute of Technology
3  * Electrical Eng, Software Lab.
4  * Author:    Michael Veksler.
5  ***************************************************************************
6  * File:      shm_semaph.h
7  * Purpose:   Handle semaphores for shared memory operations.
8  ***************************************************************************
9  */
10
11 #ifndef __WINE_SHM_SEMAPH_H
12 #define __WINE_SHM_SEMAPH_H
13 /* IMPORTANT: If possible, restrict usage of these functions. */
14
15 #ifdef CONFIG_IPC
16
17 typedef int shm_sem;
18
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);
25
26 #endif  /* CONFIG_IPC */
27
28 #endif /* __WINE_SHM_SEMAPH_H */