This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygserver ChangeLog bsd_mutex.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 8 Apr 2005 20:31:43 -0000
- Subject: src/winsup/cygserver ChangeLog bsd_mutex.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2005-04-08 20:31:43
Modified files:
winsup/cygserver: ChangeLog bsd_mutex.cc
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/ChangeLog.diff?cvsroot=src&r1=1.43&r2=1.44
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygserver/bsd_mutex.cc.diff?cvsroot=src&r1=1.13&r2=1.14