Files
haiku-beta6/headers/private/kernel
Augustin Cavalier 30fda09a95 kernel: Rewrite KDEBUG_RW_LOCK_DEBUG.
Previously this just turned the rw_lock into the equivalent of a
recursive_lock, which meant that reader vs. writer assertions
were of no use.

Now, we have a per-thread static array which stores the held read
locks, allowing ASSERT_READ_LOCKED_RW_LOCK to work properly,
and allowing multiple readers to be active at a time.

This probably should still remain disabled even on nightly builds,
but at least it's much more useful as a debugging tool than it was
beforehand.

Change-Id: I386b2bc2ada8df42f4ab11a05563ef22af58e77f
2023-06-29 21:04:40 -04:00
..
2022-02-18 21:27:06 +00:00
2020-06-13 23:24:27 +02:00
2022-08-17 19:23:51 +00:00
2023-06-29 21:04:40 -04:00
2021-08-27 19:02:20 -04:00
2023-06-19 14:56:10 +00:00
2021-06-19 18:09:25 +00:00