Files
ladybird/Kernel
Robin Burchell dea7f937bf Scheduler: Allow reentry into block()
With the presence of signal handlers, it is possible that a thread might
be blocked multiple times. Picture for instance a signal handler using
read(), or wait() while the thread is already blocked elsewhere before
the handler is invoked.

To fix this, we turn m_blocker into a chain of handlers. Each block()
call now prepends to the list, and unblocking will only consider the
most recent (first) blocker in the chain.

Fixes #309
2019-07-21 12:42:22 +02:00
..
2019-07-20 12:15:24 +02:00
2019-07-13 08:00:24 +02:00
2019-05-28 17:31:20 +02:00
2019-07-13 08:00:24 +02:00
2019-07-21 12:42:22 +02:00