a219929f7609a0e3d836c81e1f3e3f1c0aaa73a2
[gapil.git] / sem.h
1 struct sem {
2   short   sempid;         /* pid of last operation */
3   ushort  semval;         /* current value */
4   ushort  semncnt;        /* num procs awaiting increase in semval */
5   ushort  semzcnt;        /* num procs awaiting semval = 0 */
6 };