4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 08:17:29 +08:00
Corinna Vinschen dbf576fd86 * 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-26 12:34:17 +00:00
..
2011-12-17 23:39:47 +00:00
2011-12-17 23:39:47 +00:00
2011-12-17 23:39:47 +00:00
2012-02-25 10:48:35 +00:00
2009-01-21 17:14:39 +00:00
2011-04-29 10:38:12 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2012-01-01 16:57:25 +00:00
2009-01-21 17:14:39 +00:00
2011-02-15 15:56:03 +00:00
2011-06-06 05:02:13 +00:00
2009-10-31 13:24:06 +00:00
2011-12-17 23:39:47 +00:00
2009-07-07 20:12:44 +00:00
2012-02-22 01:58:24 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-12-09 06:57:21 +00:00
2011-12-17 23:39:47 +00:00
2011-06-06 05:02:13 +00:00
2011-11-14 01:37:02 +00:00
2010-08-30 01:57:37 +00:00
2011-04-04 12:23:36 +00:00
2011-09-01 19:19:29 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2011-06-06 05:02:13 +00:00
2012-02-16 11:02:05 +00:00
2009-01-21 17:14:39 +00:00
2011-12-17 23:39:47 +00:00
2012-02-16 11:02:05 +00:00
2011-06-06 05:02:13 +00:00
2012-02-22 01:58:24 +00:00
2010-08-30 01:57:37 +00:00
2011-06-06 05:02:13 +00:00
2011-12-17 23:39:47 +00:00
2009-01-21 17:14:39 +00:00
2011-12-17 23:39:47 +00:00
2012-02-12 22:43:33 +00:00
2011-06-06 05:02:13 +00:00
2011-05-04 22:12:15 +00:00
2011-11-29 17:26:57 +00:00
2012-02-22 01:58:24 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2011-03-16 21:10:51 +00:00