CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected]  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

Reply via email to