summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ChangeLog
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-02-26 12:34:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-02-26 12:34:17 +0000
commitdbf576fd861451a66cbc1b49e06ce1baab411cbe (patch)
tree9588a89e60f0a5988c7165810c572a1b0c6ed0b2 /winsup/cygwin/ChangeLog
parent3a90360cf0abf04e43eaea2f502e02353ea88ac7 (diff)
downloadcygnal-dbf576fd861451a66cbc1b49e06ce1baab411cbe.tar.gz
cygnal-dbf576fd861451a66cbc1b49e06ce1baab411cbe.tar.bz2
cygnal-dbf576fd861451a66cbc1b49e06ce1baab411cbe.zip
* flock.cc (LOCK_DIR_NAME_FMT): Define.
(LOCK_DIR_NAME_LEN): Define. (LOCK_DIR_NAME_DEV_OFF): Define. (LOCK_DIR_NAME_INO_OFF): Define. (LOCK_OBJ_NAME_FMT): Define. Add comment. (class lockf_t): Use bitsize-explicit types. Declare from_obj_name, (class inode_t): Make use, unuse and inuse methods public. Add a lock argument to get method declaration. (inode_t::get): Add lock argument. Only lock node if lock arg is true. (inode_t::inode_t): Use LOCK_DIR_NAME_FMT as format string. (lockf_t::from_obj_name): New method to generate lockf_t content from lock event object basename. (inode_t::get_all_locks_list): Just call from_obj_name here and copy result into final lockf_t. (create_lock_obj_attr): Use LOCK_OBJ_NAME_FMT as format string. (create_lock_in_parent): New thread function to create lockf_t structure in parent process. (delete_lock_in_parent): New thread function to reap stale BSD locks in parent process. (lockf_t::create_lock_obj): Try to duplicate lock object handle into parent process and call create_lock_in_parent as parent remote thread. (lockf_t::del_lock_obj): Call delete_lock_in_parent as parent remote thread. (fhandler_disk_file::lock): Add lock arg to inode_t::get call.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r--winsup/cygwin/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index dfbcea949..032c9c10e 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,30 @@
+2012-02-26 Corinna Vinschen <corinna@vinschen.de>
+
+ * flock.cc (LOCK_DIR_NAME_FMT): Define.
+ (LOCK_DIR_NAME_LEN): Define.
+ (LOCK_DIR_NAME_DEV_OFF): Define.
+ (LOCK_DIR_NAME_INO_OFF): Define.
+ (LOCK_OBJ_NAME_FMT): Define. Add comment.
+ (class lockf_t): Use bitsize-explicit types. Declare from_obj_name,
+ (class inode_t): Make use, unuse and inuse methods public. Add a
+ lock argument to get method declaration.
+ (inode_t::get): Add lock argument. Only lock node if lock arg is true.
+ (inode_t::inode_t): Use LOCK_DIR_NAME_FMT as format string.
+ (lockf_t::from_obj_name): New method to generate lockf_t content from
+ lock event object basename.
+ (inode_t::get_all_locks_list): Just call from_obj_name here and copy
+ result into final lockf_t.
+ (create_lock_obj_attr): Use LOCK_OBJ_NAME_FMT as format string.
+ (create_lock_in_parent): New thread function to create lockf_t
+ structure in parent process.
+ (delete_lock_in_parent): New thread function to reap stale BSD locks in
+ parent process.
+ (lockf_t::create_lock_obj): Try to duplicate lock object handle into
+ parent process and call create_lock_in_parent as parent remote thread.
+ (lockf_t::del_lock_obj): Call delete_lock_in_parent as parent remote
+ thread.
+ (fhandler_disk_file::lock): Add lock arg to inode_t::get call.
+
2012-02-25 Christopher Faylor <me.cygwin2012@cgf.cx>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 12.