haiku/headers
Augustin Cavalier bb09a3ed07 kernel/condition_variable: Remove a confusing requirement for published variables.
Part of the point of published variables is to make them "shareable",
and not require external synchronization. Requiring the callers
to ensure unpublishing does not occur is thus unreasonable, as e.g.
a variable could be unpublished immediately after being notified.

That is the case for some usages of these variables in the FreeBSD
compatibility layer, which under heavy usage, can and did trigger
use-after-unpublishes and then KDLs, at least in local testing.

Instead, only unlock the hash after we have locked the variable.
This is already done in some other functions, so it's safe to do
it here, too. This way, the variable won't be unpublished
while Notify() is running.
2022-03-09 18:55:55 -05:00
..
build libbe_build: Fix build on non-Haiku platforms. 2021-11-18 15:42:17 -05:00
compatibility features.h: Define _DEFAULT_SOURCE when _GNU_SOURCE is defined. 2021-11-17 13:55:50 -05:00
config riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
cpp
glibc
libs Mass updating of OpenBeOS text to Haiku 2021-11-07 10:00:35 +00:00
os pci: add set_powerstate and get_powerstate legacy hooks 2022-02-19 08:19:24 +00:00
posix POSIX: introduce pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock 2022-02-18 21:27:06 +00:00
private kernel/condition_variable: Remove a confusing requirement for published variables. 2022-03-09 18:55:55 -05:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00