]> sourceware.org Git - newlib-cygwin.git/commit
* flock.cc (class inode_t): Add i_wait member and matching methods
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Apr 2009 13:29:08 +0000 (13:29 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 17 Apr 2009 13:29:08 +0000 (13:29 +0000)
commita74869c027033e90b0cc8e15ef96ac0a82ab06eb
treeab4811e2861decd74a13c343631d77a7b443e781
parent5bbd5ae0bbff68d9dd91a7492b503c651d9d1fc8
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/flock.cc
This page took 0.029406 seconds and 5 git commands to generate.