Files
banan-os/kernel/include/kernel
Bananymous 71649ffe09 Kernel Rework ThreadBlocker
I don't know why I though the block chain had to be stored fully in the
ThreadBlocker, that did not even fix the problem I was trying to fix
when I last rewrote it. Roll back to doubly linked list of block chain
and now just check that the node is contained within the ThreadBlocker
before removing and after acquiring the ThreadBlocker's lock. Also there
is no need to have a separate lock the node's blocker field. We can just
perform an atomic reads and writes to it. We can still get a blocker
that the node is no longer part of, but this can be resolved with a
simple check. This patch reduces ThreadBlocker's size from over 200
bytes to just 12 bytes +4 bytes padding
2026-04-20 12:50:09 +03:00
..
2026-01-02 17:50:22 +02:00
2024-03-26 02:48:26 +02:00
2026-01-08 17:13:59 +02:00
2025-08-11 14:07:37 +03:00
2024-09-27 15:31:31 +03:00
2026-01-11 01:31:09 +02:00
2024-01-24 15:53:38 +02:00
2024-01-24 15:53:38 +02:00
2025-08-05 17:12:26 +03:00
2026-03-17 20:24:06 +02:00
2025-05-13 10:16:21 +03:00
2026-04-05 02:25:59 +03:00
2026-04-20 12:50:09 +03:00