OSDN Git Service

* bsd_mutex.cc (msleep_cnt): Remove.
authorcorinna <corinna>
Fri, 8 Apr 2005 20:31:43 +0000 (20:31 +0000)
committercorinna <corinna>
Fri, 8 Apr 2005 20:31:43 +0000 (20:31 +0000)
commiteff0dca12e0e2270ebccb4c017579789fc272c1a
treeabfda9eaa3d52aeeae7e7e56e95139c60523bfb6
parentf143b167e8f9854a59b56a2c7af26f676e120afa
* bsd_mutex.cc (msleep_cnt): Remove.
(msleep_max_cnt): Remove.
(msleep_arr): Remove.
(class msleep_sync_array): New class to encapsulate msleep/wakeup
thread synchronization.
(msleep_sync): New object pointer.
(msleep_init): Initialize new msleep_sync object.
(_mutex): Just call msleep_sync->enter() and msleep_sync->leave() for
thread synchronization. Improve debug output a bit more.
(wakeup): Just call msleep_sync->wakeup().
(wakeup_all): Whitespace fix.
winsup/cygserver/ChangeLog
winsup/cygserver/bsd_mutex.cc