Laurence Withers
3fc440edab
Add dynamic resizing of returned events array if we keep getting too many events
2007-11-05 10:42:39 +00:00
Laurence Withers
9046c9b878
Add interaction with sigprocmask()
2007-11-05 10:38:23 +00:00
Laurence Withers
8cfa44019f
Add some notes to the documentation
2007-11-05 10:32:32 +00:00
Laurence Withers
27133a87ed
Add non-closing lwevent_free()
2007-11-05 10:29:41 +00:00
Laurence Withers
cfcea63f7a
Remove `old' parameters from set functions
2007-10-27 17:43:28 +00:00
Laurence Withers
51e14f327f
Add lwevent_exit()
2007-10-27 17:43:14 +00:00
Laurence Withers
c7663cc4a2
Allow proper behaviour when modifying events and deactivated
2007-10-27 16:15:44 +00:00
Laurence Withers
f4b7935bb9
Mark lwevent_epoll_fd FD_CLOEXEC and don't expose it to users
2007-10-27 15:24:34 +00:00
Laurence Withers
e617f1b835
Add lwevent_cloexec()
2007-10-27 13:34:14 +00:00
Laurence Withers
dfb8feedfd
Tidy up _lwevent_activate() since it is no longer used for modification
2007-10-26 13:21:15 +00:00
Laurence Withers
5ed8cef02f
Fix lwevent_set_events().
...
This function should only update the lwevent structure's event mask if
the call to epoll_ctl() succeeds. This does, however, mean that the
event mask cannot be changed if the lwevent instance is deactivated.
2007-10-26 13:20:56 +00:00
Laurence Withers
f8f6e4aa3b
Remove retrieval of old value in set() calls.
...
The old value can be retrieved with one of the get() calls if necessary,
so it seems to redundant to also be able to retrieve it via set().
2007-10-26 12:59:48 +00:00
Laurence Withers
f301a0dcea
Fix documentation: signalfd() returns fd on success, not 0.
2007-10-26 12:55:05 +00:00
Laurence Withers
a34063b32f
Add support for lwevent_wait() returning number of events
2007-10-26 12:50:26 +00:00
Laurence Withers
3e33062dc4
Upgrade build system
2007-10-14 10:32:46 +00:00
Laurence Withers
de6e661982
Finish library, switch to GPLv3.
2007-10-14 10:24:28 +00:00
Laurence Withers
60b9d9cc48
WIP
2007-10-13 23:14:47 +00:00
Laurence Withers
938852afd3
WIP
2007-10-13 20:30:31 +00:00
Laurence Withers
a4fe0f1cb4
Rename files
2007-10-13 18:17:24 +00:00
Laurence Withers
c3b542d8c5
Initial commit
2007-10-13 18:15:32 +00:00