[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38098: kqueue is not thread safe
>Synopsis: kqueue is not thread safe
>Arrival-Date: Sun Feb 24 18:30:02 +0000 2008
>Originator: Andrew Doran
The NetBSD Project
kqueue state is not shared between processes, but is shared between LWPs
within a process. The kqueue code assumes a single threaded system.
For example, in a few places it makes calls that may block, and after
resuming proceeds without re-checking the continued validity of the operation.
Modify the kqueue code to be thread+MP safe.
Main Index |
Thread Index |