diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-07 02:30:48 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-07 17:14:04 +0000 |
| commit | de2c0f157a9cce0b763da9ae97ada870fa4d1824 (patch) | |
| tree | 5da8a1357ee9696e25d99bf7062ab5eac9c0569d /packages/Python/lldbsuite/test/python_api/thread | |
| parent | 78ae174e420a2eaa340b41247a260bc067fae0c6 (diff) | |
libthr: Fix some bugs in trylock
1. When contester > 2, a release causes kernel set CONTENTION bit but
with no owner. In this case, the userspace should be able to try the
lock instead of fall immediately. We copy this from trylock2.
2. A PI mutex should consult to kernel instead of decided by userspace
itself.
Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D60427
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
