aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/Transforms/(developers-only)
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2025-10-06 02:00:50 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2025-10-06 02:19:38 +0000
commite0b571d77364d0dcae5492d9f3b901d01d3e13ca (patch)
treed7da42434e69828d51f7ea786ee9b29077dd6d72 /contrib/llvm/lib/Transforms/(developers-only)
parent4dc4a512e0659c9155db7412d2821bef409b48af (diff)
mtx: rename MTX_CONTESTED to MTX_WAITERSHEADmain
Using the word "contested" for the case where there are threads blocked on the lock is misleading at best (the lock is already contested if it is being held by one thread and wanted by another). It also diverges from naming used in other primitives (which refer to them as "waiters"). Rename it for some consistency. There were uses of the flag outside of mutex code itself. This is an abuse of the interface. The netgraph thing looks suspicious at best, the sctp thing is fundamentally wrong. Fixing those up is left as an exercise for the reader. While here touch up stale commentary. Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'contrib/llvm/lib/Transforms/(developers-only)')
0 files changed, 0 insertions, 0 deletions