Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-28 | Finish the range checking on all FD_SET calls for select(). | Jeremy Allison | 1 | -0/+4 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104 | |||||
2010-10-06 | tevent: Only call handlers that ask for events | Volker Lendecke | 1 | -1/+1 | |
The s3 libsmbclient puts two different handlers on a single fd for readability and writability. With select this works fine, however without this patch we unconditionally call the write handler even if the socket is only readable. We should have called the read handler instead. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104 | |||||
2010-04-18 | tevent: mark backend init fns as _PRIVATE_ | Andrew Tridgell | 1 | -1/+1 | |
these are not supposed to be exposed in the library | |||||
2009-03-17 | tevent: add support for immediate events | Stefan Metzmacher | 1 | -11/+17 | |
They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze | |||||
2009-03-17 | tevent: add tevent_common_loop_wait() helper function and use it | Stefan Metzmacher | 1 | -19/+1 | |
tevent_loop_wait should do the same for all backends. It should loop as long as we have pending events. metze | |||||
2009-03-17 | tevent: check signal events first in event_loop_once | Stefan Metzmacher | 1 | -0/+5 | |
We also check for signal events directly before and after the select/epoll calls. metze | |||||
2009-03-17 | tevent: let tevent_loop_once() just run one fd event | Stefan Metzmacher | 1 | -19/+3 | |
This makes the logic much simpler for the callers, and matches the samba3 behavior. If needed we can add performance tunning for tevent_loop_wait() later. metze | |||||
2009-03-12 | tevent: pass __location__ to tevent_loop_once/wait() | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-02-17 | tevent: Rename ev_timeval* functions to tevent_timeval, export them. | Kai Blin | 1 | -1/+1 | |
Also add tevent_timeval_add() and tevent_timeval_current_ofs() to help not depending on lub/util/time.c for things that just need tevent | |||||
2009-02-16 | lib/tevent: change to LGPLv3+ | Stefan Metzmacher | 1 | -13/+17 | |
metze | |||||
2009-01-05 | tevent: keep a linked list of fd_events | Stefan Metzmacher | 1 | -34/+19 | |
metze | |||||
2009-01-05 | tevent: keep a linked list of signal events | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2009-01-04 | tevent: completely initialize tevent_fd structs | Stefan Metzmacher | 1 | -0/+3 | |
This fixes crash bugs... I forgot to commit and squash this to commit e45ed828d042acca09cb1ed5b6dd7a24eb5e7ffd metze | |||||
2009-01-03 | tevent: remove TEVENT_FD_AUTOCLOSE feature | Stefan Metzmacher | 1 | -3/+0 | |
TEVENT_FD_AUTOCLOSE adds a dependency to SOCKET_WRAPPER, which is bad. Callers should use tevent_fd_set_close_fn() now. metze | |||||
2009-01-03 | tevent: remove dependency to SOCKET_WRAPPER via "system/network.h" | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2009-01-03 | tevent: add tevent_fd_set_close_fn() | Stefan Metzmacher | 1 | -1/+5 | |
Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze | |||||
2009-01-03 | tevent: move some common tevent_fd related functions into tevent_fd.c | Stefan Metzmacher | 1 | -10/+1 | |
metze | |||||
2009-01-02 | tevent: use TEVENT_FD_* instead of EVENT_FD_* | Stefan Metzmacher | 1 | -16/+16 | |
metze | |||||
2009-01-02 | tevent: rename ev_debug_ops => tevent_debug_ops | Stefan Metzmacher | 1 | -7/+7 | |
And related changes, but we keep compat macros metze | |||||
2009-01-02 | tevent: pass down handler_name and location to the backend layer | Stefan Metzmacher | 1 | -12/+14 | |
metze | |||||
2009-01-02 | tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2009-01-02 | tevent: rename event_register_backend() => tevent_register_backend() | Stefan Metzmacher | 1 | -3/+3 | |
And fix the callers and there init functions. metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 1 | -23/+23 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-29 | lib/tevent: rename event_* => tevent_* in the header file | Stefan Metzmacher | 1 | -1/+1 | |
We have compat macros to keep the callers happy. metze | |||||
2008-12-17 | s4:lib/tevent: add lib/events/ compat and let things compile | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2008-12-17 | s4:lib/events: move to toplevel directory as lib/tevent/ | Stefan Metzmacher | 1 | -0/+607 | |
This commit will not compile on its own. metze |