ObjFW  Check-in [c5f0c5f9ba]

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 | 0.8
Files: files | file ages | folders
SHA3-256: c5f0c5f9ba6e62e1696a37db67763d303610b6d4fa4138c0d0df7d8aae6d9126
User & Date: js on 2015-12-29 21:42:38
Other Links: branch diff | manifest | tags
Context
2016-01-03
00:36
Fix a regression from the previous refactorization check-in: d1c4c46706 user: js tags: 0.8
2015-12-29
21:42
Refactor OFKernelEventObserver check-in: c5f0c5f9ba user: js tags: 0.8
2015-11-02
15:10
OFDate: Use wcsftime on Windows check-in: f585645c21 user: js tags: 0.8
Changes