Commit Graph

8 Commits

Author SHA1 Message Date
Loïc Grégoire 13375f294c ke/mutex: wrap lines 2026-08-05 17:52:17 -04:00
Loïc Grégoire e4621e03c1 ke/turnstile: add support for multiple owners 2026-07-23 16:38:59 -04:00
Loïc Grégoire fddd9865f7 ke/mutex: do TTAS spin
This is better to do than `pause`-ing in a CAS loop.
2026-07-18 16:08:34 -04:00
Loïc Grégoire 5fbc61ecb1 ke/mutex: fix possible use-after-free
A thread might get reaped between loading the owner and its state,
leading to a possible use-after-free.
2026-07-08 11:15:31 -04:00
Loïc Grégoire 11c858c5e8 ke: add is_locked to mutex 2026-06-29 22:32:41 -04:00
Loïc Grégoire f94098d0a5 ke: change mutex spinning policy 2026-06-27 10:06:17 -04:00
Loïc Grégoire 534a7f2e2c ke(mutex): do optimistic spinning 2026-06-14 10:59:23 -04:00
Loïc Grégoire 68e0f7f8f7 ke: add turnstile and mutex 2026-06-12 15:53:10 -04:00