Since there is only the current thread in the child, no pending readers exist. Clear the bit, since it confuses future attempts to acquire write ownership of the rtld locks, due to URWLOCK_PREFER_READERS flag. PR: 271490
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
It would be nice to turn the test case from PR 271490 into a regression test case, either in the base system or in stress2.
lib/libthr/thread/thr_rtld.c | ||
---|---|---|
161 | Perhaps use __predict_false here. |