diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-17 13:29:08 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-17 13:29:08 +0000 |
commit | a74869c027033e90b0cc8e15ef96ac0a82ab06eb (patch) | |
tree | ab4811e2861decd74a13c343631d77a7b443e781 /winsup/cygwin/ChangeLog | |
parent | 5bbd5ae0bbff68d9dd91a7492b503c651d9d1fc8 (diff) | |
download | cygnal-a74869c027033e90b0cc8e15ef96ac0a82ab06eb.tar.gz cygnal-a74869c027033e90b0cc8e15ef96ac0a82ab06eb.tar.bz2 cygnal-a74869c027033e90b0cc8e15ef96ac0a82ab06eb.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7d834ea04..b81dba3f8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,14 @@ +2009-04-17 Corinna Vinschen <corinna@vinschen.de> + + * 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. + 2009-04-16 Corinna Vinschen <corinna@vinschen.de> * dlfcn.cc (get_full_path_of_dll): Just return a bool value. Drop |