Laurence Withers
20c828b73c
Add `before_loop' parameter to lwevent_wait()
2007-11-15 12:06:55 +00:00
Laurence Withers
b1b20b641c
Add explicit reference to variable in documentation
2007-11-15 11:59:16 +00:00
Laurence Withers
4cca2b74f4
Make internal signalfd close on exec
2007-11-13 12:45:46 +00:00
Laurence Withers
36dc25a350
Use default signalfd in echoserver
2007-11-07 21:33:47 +00:00
Laurence Withers
397939b4d5
Fix lwevent_signalfd(): it should call sigprocmask()
2007-11-07 21:33:33 +00:00
Laurence Withers
7f76359388
Add tests/examples
2007-11-07 21:12:22 +00:00
Laurence Withers
0268195b45
Add compatibility group
2007-11-07 21:12:12 +00:00
Laurence Withers
ab090b4461
Move signalfd compatibility stuff into correct documentation group
2007-11-07 21:11:58 +00:00
Laurence Withers
96cae3e169
Remove comment about epoll file descriptor being accessible
2007-11-07 20:14:06 +00:00
Laurence Withers
43e1630cd6
Fix mistakes in usage of sigprocmask()
2007-11-05 10:43:19 +00:00
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