Volker Lendecke
40ecc2f6f0
lib: Fix contending with a READ lock
...
When contending a WRITE with an existing READ, the contender puts
himself into the exclusive slot, waiting for the READers to go
away. If the async lock request is canceled before we got the lock, we
need to remove ourselves again. This is done in the destructor of the
g_lock_lock_state. In the successful case, the destructor needs to go
away.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Dec 22 18:57:17 UTC 2019 on sn-devel-184
2019-12-22 18:57:17 +00:00
..
2017-07-04 11:14:49 +02:00
2019-11-22 23:57:47 +00:00
2018-12-11 00:40:30 +01:00
2019-11-27 10:25:36 +00:00
2019-07-17 00:07:48 +00:00
2019-07-16 22:52:25 +00:00
2019-10-30 14:52:33 +00:00
2019-09-26 17:20:50 +00:00
2019-01-28 10:29:23 +01:00
2015-09-24 08:00:16 +02:00
2018-07-24 20:36:49 +02:00
2018-05-12 02:09:26 +02:00
2017-04-18 11:47:17 +02:00
2018-08-17 11:30:10 +02:00
2016-07-28 05:00:18 +02:00
2015-10-03 00:01:11 +02:00
2015-10-03 00:01:11 +02:00
2018-09-07 17:26:17 +02:00
2018-09-07 17:26:14 +02:00
2017-09-26 09:37:13 +02:00
2019-09-04 14:20:16 +00:00
2019-10-18 08:54:04 +00:00
2017-09-08 02:33:14 +02:00
2019-11-12 22:18:39 +00:00
2019-11-12 22:18:39 +00:00
2019-10-02 08:01:40 +00:00
2019-12-22 18:57:17 +00:00
2019-01-19 12:24:18 +01:00
2018-11-06 18:57:26 +01:00
2018-09-07 17:26:17 +02:00
2014-07-18 15:43:33 +02:00
2017-05-10 15:53:20 +02:00
2019-02-28 13:53:40 +00:00
2019-02-28 13:53:40 +00:00
2019-06-30 11:32:18 +00:00
2018-05-17 17:30:09 +02:00
2017-02-15 02:28:16 +01:00
2019-01-11 23:11:16 +01:00
2017-07-25 17:43:18 +02:00
2019-01-11 23:11:16 +01:00
2017-07-25 17:43:18 +02:00
2019-01-11 23:11:16 +01:00
2016-10-05 00:06:22 +02:00
2019-12-10 00:30:29 +00:00
2017-12-05 00:56:12 +01:00
2017-01-22 18:30:11 +01:00
2015-02-13 23:32:07 +01:00
2019-07-16 22:52:24 +00:00
2018-03-21 20:43:19 +01:00
2019-06-30 11:32:18 +00:00
2018-10-16 18:00:10 +02:00
2019-01-11 23:11:11 +01:00
2019-10-24 09:33:47 +00:00
2019-11-27 10:25:35 +00:00
2018-12-20 23:40:25 +01:00
2014-12-04 22:11:07 +01:00
2015-10-13 01:23:07 +02:00
2018-07-20 15:14:24 +02:00
2017-01-22 18:30:11 +01:00
2015-07-07 23:51:23 +02:00
2016-07-15 16:56:13 +02:00
2016-07-15 16:56:13 +02:00
2018-08-17 11:30:10 +02:00
2019-07-22 16:49:15 +00:00
2019-07-22 16:49:15 +00:00
2017-12-05 04:58:26 +01:00
2016-01-22 07:52:21 +01:00
2019-11-26 21:28:31 +00:00
2019-06-20 17:18:19 +00:00
2019-06-20 17:18:19 +00:00
2019-11-27 10:25:36 +00:00
2016-10-13 04:26:26 +02:00
2019-05-15 21:26:12 +00:00
2018-07-24 20:36:50 +02:00
2019-07-12 21:31:29 +00:00
2019-07-12 21:31:29 +00:00
2018-03-01 04:37:41 +01:00
2019-11-27 10:25:31 +00:00
2018-03-01 04:37:42 +01:00
2016-03-31 20:30:10 +02:00
2019-02-17 13:33:14 +01:00
2019-02-17 13:33:13 +01:00
2019-02-17 13:33:12 +01:00
2019-02-17 13:33:13 +01:00
2019-02-17 13:33:12 +01:00
2019-11-27 10:25:36 +00:00
2015-03-11 16:11:08 +01:00
2019-10-08 08:38:32 +00:00
2019-10-02 08:01:40 +00:00
2016-02-23 22:03:16 +01:00
2015-03-17 11:30:52 +01:00
2019-05-19 17:34:20 +00:00
2017-01-22 18:30:11 +01:00
2019-04-24 18:32:14 +00:00
2019-04-24 18:32:14 +00:00
2019-04-24 18:32:14 +00:00
2015-05-19 16:37:52 +02:00
2019-12-06 00:17:36 +00:00
2016-06-28 11:19:33 +02:00
2016-06-28 11:19:33 +02:00
2019-08-01 05:01:15 +00:00
2019-02-06 07:11:30 +01:00
2014-07-18 15:43:33 +02:00
2015-04-29 23:42:20 +02:00
2015-10-07 23:54:06 +02:00
2013-10-17 23:21:53 +02:00
2017-09-20 13:04:10 +02:00
2016-02-06 21:48:17 +01:00
2013-08-15 09:07:06 +02:00
2018-04-24 22:26:22 +02:00
2019-05-24 19:00:06 +00:00
2019-05-24 19:00:06 +00:00
2019-07-12 21:31:29 +00:00
2019-07-12 21:31:29 +00:00
2016-01-26 03:19:18 +01:00
2019-11-27 10:25:32 +00:00
2018-08-17 14:28:51 +02:00
2015-11-09 07:53:18 +01:00
2015-11-09 07:53:18 +01:00
2018-03-01 04:37:42 +01:00
2019-09-17 12:31:40 +00:00
2016-12-28 20:17:12 +01:00
2018-12-20 23:40:26 +01:00
2019-10-18 16:07:35 +00:00
2016-01-15 22:19:07 +01:00
2019-11-27 10:25:31 +00:00
2019-05-29 10:10:23 +00:00
2015-10-13 01:23:07 +02:00
2016-01-10 22:24:17 +01:00
2016-01-10 22:24:17 +01:00
2016-12-28 20:17:13 +01:00
2016-12-28 20:17:12 +01:00
2018-12-20 23:40:25 +01:00
2019-12-02 21:23:35 +00:00
2019-03-06 01:53:16 +00:00
2019-02-28 13:53:40 +00:00
2019-10-23 04:57:08 +00:00
2019-09-10 23:14:31 +00:00