This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog flock.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 17 Apr 2009 13:29:09 -0000
- Subject: src/winsup/cygwin ChangeLog flock.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-04-17 13:29:09
Modified files:
winsup/cygwin : ChangeLog flock.cc
Log message:
* flock.cc (class inode_t): Add i_wait member and matching methods
wait(), unwait(), and waiting().
(inode_t::inode_t): Initialize i_wait to 0.
(fhandler_disk_file::lock): Only remove node if no other thread is
waiting for a blocking lock.
(lf_setlock): Manipulate node->i_wait to signal that a thread is
waiting for a blocking lock in this node.
(lf_findoverlap): Reinstantiate SELF test as in original code.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4464&r2=1.4465
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/flock.cc.diff?cvsroot=src&r1=1.19&r2=1.20