Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/compat/irix



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
queue.


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

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




Home | Main Index | Thread Index | Old Index