Corinna Vinschen
a24ad2c346
* autoload.cc (CancelSynchronousIo): Define.
* fcntl.cc (fcntl64): Drop handling of locking commands.
* fhandler.h (class fhandler_disk_file): Add mandatory_locking.
(fhandler_disk_file::fcntl): Declare.
(fhandler_disk_file::mand_lock): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
Initialize mandatory_locking.
(fhandler_disk_file::fcntl): New method. Handle F_LCK_MANDATORY and
locking commands.
(fhandler_disk_file::dup): Duplicate mandatory_locking. Fix a bug
when duplicating prw_handle failed.
(fhandler_disk_file::fixup_after_fork): Reset mandatory_locking.
* flock.cc (fhandler_disk_file::lock): Add comment.
(struct lock_parms): New struct to pass parameters to blocking_lock_thr
thread function.
(blocking_lock_thr): New thread function.
(fhandler_disk_file::mand_lock): New methof implementing mandatory
locking with Windows semantics.
* ntdll.h (NtLockFile): Declare.
(NtUnlockFile): Declare.
* include/fcntl.h: Fix a comment.
(F_LCK_MANDATORY): Define. Add lengthy comment to explain.
2013-06-02 10:22:14 +00:00
..
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2008-02-11 19:03:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-31 18:08:25 +00:00
2012-06-06 04:45:48 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-05-31 18:08:25 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2012-06-06 04:45:48 +00:00
2011-02-11 12:42:30 +00:00
2011-02-02 15:14:46 +00:00
2013-02-21 03:15:47 +00:00
2013-01-21 04:38:31 +00:00
2013-06-02 10:22:14 +00:00
2013-01-21 04:38:31 +00:00
2011-12-17 23:39:47 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2007-06-21 15:57:54 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2010-01-22 22:31:31 +00:00
2007-02-15 17:49:25 +00:00
2012-07-06 13:52:19 +00:00
2013-01-21 04:38:31 +00:00
2012-02-07 17:15:07 +00:00
2013-02-26 10:32:36 +00:00
2009-12-26 06:20:56 +00:00
2010-04-27 15:18:14 +00:00
2011-12-17 23:39:47 +00:00
2007-06-17 00:31:27 +00:00
2007-02-20 15:48:04 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2008-04-24 08:46:41 +00:00