Implemented GdiFreeResources (GDI.609).
[wine/multimedia.git] / include / shm_semaph.h
blob62852f0516c147ebbaf00a3763cb023a9cca8cdf
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 */
11 #ifndef __WINE_SHM_SEMAPH_H
12 #define __WINE_SHM_SEMAPH_H
13 /* IMPORTANT: If possible, restrict usage of these functions. */
15 #ifdef CONFIG_IPC
17 typedef int shm_sem;
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 */