Subject: CVS commit: syssrc/sys/compat/irix
To: None <>
From: Emmanuel Dreyfus <>
List: source-changes
Date: 05/30/2002 08:16:11
Module Name:	syssrc
Committed By:	manu
Date:		Thu May 30 05:16:11 UTC 2002

Modified Files:
	syssrc/sys/compat/irix: irix_usema.c irix_usema.h

Log Message:
Improved support for polling semaphores: when a polling semaphore is unblocked,
poll will return true until the semaphore is blocked again, but before the
semaphore is blocked, poll returns false.

We do this by maintaining another queue of "released" processes in
struct irix_usema_rec. Unblocking causes the waiting process record to be
moved to the released queue, and poll check for the process in this released

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/irix/irix_usema.c \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.