ObjFW  Check-in [e9b4700cb6]

Overview
Comment:Refactor OFKernelEventObserver

This moves the locked queue for actions to
OFKernelEventObserver_LockedQueue, which is now used for select and
poll, but skipped for kqueue and epoll, as they natively support changes
from another thread.

This fixes the problem that removing an object is delayed until the next
observe call - at which point it might have already been closed, meaning
the fd is no longer available. This was mainly a problem with kqueue, as
closing the fd already removed it from the kqueue, which then resulted
in an error being returned when trying to manually remove the fd from
the kqueue.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e9b4700cb6b71e6be0c05034dcb74e755a0039b223bb0c43eecc26bef6ad3e2c
User & Date: js on 2015-12-29 21:33:07
Other Links: manifest | tags
Context
2016-01-03
00:35
Fix a regression from the previous refactorization check-in: 258b8a4944 user: js tags: trunk
2015-12-29
21:33
Refactor OFKernelEventObserver check-in: e9b4700cb6 user: js tags: trunk
2015-12-05
21:23
of{http,zip}: Better documentation of long options check-in: 227351155f user: js tags: trunk
Changes