Ondřej Surý
e5f7fe1f65
Add strong rwlock consistency checks to dns_rbtdb
...
The dns_rbtdb unit already tracks the state of the node and tree rwlocks
during the top level function and passes the states of the locks to the
called functions.
Add the tree locking family of macros modeled after node locking macros,
and expand both to track the state of the lock in an external variable.
Additionally, in developer mode, add precondition to the macros, so the
lock is in required state - this should cause an assertion failure on
double locking instead of the thread getting stuck.
2022-11-02 08:45:48 +01:00
..
2022-10-31 10:30:27 +00:00
2022-10-29 00:22:54 +11:00
2022-10-14 16:39:21 +02:00
2022-08-26 09:09:24 +02:00
2022-10-05 16:44:05 +02:00
2022-05-25 14:44:32 +02:00
2022-10-17 11:58:26 +01:00
2022-10-05 16:44:05 +02:00
2022-10-25 10:35:07 +02:00
2022-10-17 08:45:44 +02:00
2022-10-14 16:39:21 +02:00
2022-10-17 11:58:26 +01:00
2022-09-19 16:36:28 +00:00
2022-10-14 16:39:21 +02:00
2022-10-05 16:44:05 +02:00
2022-09-26 16:28:12 +02:00
2022-10-05 16:44:05 +02:00
2022-10-26 12:55:06 +02:00
2022-05-13 13:31:17 +02:00
2022-10-14 16:39:21 +02:00
2022-06-09 10:47:04 +00:00
2022-09-19 15:56:02 +02:00
2022-10-17 11:58:26 +01:00
2022-06-28 11:56:31 +02:00
2022-06-28 11:56:31 +02:00
2022-07-05 12:29:01 +10:00
2022-10-25 10:35:07 +02:00
2022-10-30 14:56:40 -07:00
2022-10-31 10:30:27 +00:00
2022-10-17 08:45:44 +02:00
2022-10-29 00:22:54 +11:00
2022-10-17 08:45:44 +02:00
2022-08-23 11:01:31 +02:00
2022-08-22 15:55:46 +02:00
2022-10-05 11:59:36 -07:00
2022-09-23 13:15:16 +10:00
2022-07-18 13:38:47 +02:00
2022-09-23 13:17:53 +10:00
2022-09-23 13:17:55 +10:00
2022-09-08 11:27:31 +02:00
2022-09-28 09:24:34 +10:00
2022-09-13 12:07:13 +10:00
2022-07-15 10:33:46 +00:00
2022-10-13 17:04:02 +02:00
2022-11-02 08:45:48 +01:00
2022-09-19 15:56:02 +02:00
2022-10-29 00:22:54 +11:00
2022-08-09 08:19:51 +00:00
2022-10-17 08:45:44 +02:00
2022-10-05 16:44:05 +02:00
2022-10-17 08:45:44 +02:00
2022-10-21 10:19:23 +00:00
2022-10-17 11:58:26 +01:00
2022-10-13 17:04:02 +02:00
2022-10-26 12:55:06 +02:00
2022-10-26 12:55:06 +02:00
2022-09-15 08:42:45 +10:00
2022-05-28 14:53:02 -07:00
2022-08-16 07:36:12 +00:00
2022-09-23 13:23:49 +00:00
2022-10-13 17:04:02 +02:00
2022-09-19 15:56:02 +02:00
2022-05-13 13:36:10 -07:00
2022-10-26 12:55:06 +02:00
2022-10-17 08:45:44 +02:00
2022-11-01 09:50:34 +00:00
2022-10-05 16:44:05 +02:00