ObjFW  History of src/OFKernelEventObserver_select.h of 9048af968e085d9b

History of file src/OFKernelEventObserver_select.h at check-in 9048af968e085d9b

2019-06-17
02:33
Deleted: Remove underscores from class names check-in: [17d57e01ff] user: js, branch: trunk, size: 0
2019-01-03
19:13
Update copyright file: [eebc599a17] check-in: [0509d7a844] user: js, branch: trunk, size: 1025 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [95447fbf8d] check-in: [7e5c81e186] user: js, branch: trunk, size: 1019 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [768a7c248d] check-in: [44f45c2e35] user: js, branch: trunk, size: 996 [annotate] [blame] [check-ins using] [diff]

2016-03-20
14:19
Use the locked queue for kqueue and epoll as well

_readObjects must only be changed from the thread running the observer
and not from a thread adding or removing objects to observe. This is
already handled by the locked queue used by poll and select, so the best
way to solve this is to use the locked queue for kqueue and epoll as
well. file: [dca7a45b83] check-in: [85917ea0dd] user: js, branch: 0.8, size: 965 [annotate] [blame] [check-ins using] [diff]

14:07
Use the locked queue for kqueue and epoll as well

_readObjects must only be changed from the thread running the observer
and not from a thread adding or removing objects to observe. This is
already handled by the locked queue used by poll and select, so the best
way to solve this is to use the locked queue for kqueue and epoll as
well. file: [b013269393] check-in: [45518ae7b7] user: js, branch: trunk, size: 990 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [70c6102e15] check-in: [cec0f072f8] user: js, branch: 0.8, size: 989 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

While at it, also update the mail address. file: [3ab62cb3ec] check-in: [2a27cf3000] user: js, branch: trunk, size: 1014 [annotate] [blame] [check-ins using] [diff]

2015-12-29
21:42
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. file: [4ffc2c897c] check-in: [c5f0c5f9ba] user: js, branch: 0.8, size: 985 [annotate] [blame] [check-ins using] [diff]

21:33
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. file: [8eed9130ce] check-in: [e9b4700cb6] user: js, branch: trunk, size: 1010 [annotate] [blame] [check-ins using] [diff]

2015-10-19
22:15
Add platform.h & make platform defines consistent file: [9b429b52d8] check-in: [1ba08eebc5] user: js, branch: trunk, size: 986 [annotate] [blame] [check-ins using] [diff]
2015-06-13
22:26
Add support for and use the new nullability file: [ff27d287c3] check-in: [9e76144ef8] user: js, branch: trunk, size: 961 [annotate] [blame] [check-ins using] [diff]
2015-05-04
20:34
Refactor OFKernelEventObserver file: [ba6ed69d4a] check-in: [bbe4040126] user: js, branch: trunk, size: 913 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [feec10ec31] check-in: [cfd374b906] user: js, branch: trunk, size: 900 [annotate] [blame] [check-ins using] [diff]
2014-01-29
15:54
Generalize OFKernelEventObserver

It is no longer limited to streams now. file: [265931990a] check-in: [c694569d86] user: js, branch: trunk, size: 894 [annotate] [blame] [check-ins using] [diff]

2014-01-28
22:50
Added: Rename OFStreamObserver -> OFKernelEventObserver file: [688ffde946] check-in: [96e20b8093] user: js, branch: trunk, size: 906 [annotate] [blame] [check-ins using]