Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tevent: add support for immediate events | Stefan Metzmacher | 2009-04-15 | 1 | -0/+49 |
| | | | | | | | | | | They're like directly triggered timed events, but you can preallocated them and scheduling them will not fail. metze (cherry picked from commit 66886f8966dff8a980a5b9d2daa3fbb20fe5ca8e) (cherry picked from commit de7125980d237e9a8aa126f155bbc84c96bad37e) | ||||
* | tevent: add tevent_common_loop_wait() helper function and use it | Stefan Metzmacher | 2009-04-15 | 1 | -0/+28 |
| | | | | | | | | | tevent_loop_wait should do the same for all backends. It should loop as long as we have pending events. metze (cherry picked from commit 940e61846e97ba62153d5b977b0823f196607743) (cherry picked from commit c742112da583809f47e40f2e4b48713d2e81edda) | ||||
* | tevent: Fix might be unitialized warning | Tim Prouty | 2009-03-12 | 1 | -1/+1 |
| | |||||
* | tevent: add tevent_loop_until() | Stefan Metzmacher | 2009-03-12 | 1 | -0/+62 |
| | | | | | | | This is only a hack for samba4 and should not be used in new code. metze | ||||
* | tevent: add tevent_loop_set_nesting_hook() | Stefan Metzmacher | 2009-03-12 | 1 | -1/+39 |
| | | | | | | | This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze | ||||
* | tevent: don't allow nested tevent_loop_once() anymore | Stefan Metzmacher | 2009-03-12 | 1 | -1/+36 |
| | | | | | | | Incompatible caller should use tevent_loop_allow_nesting() function. metze | ||||
* | tevent: pass __location__ to tevent_loop_once/wait() | Stefan Metzmacher | 2009-03-12 | 1 | -4/+4 |
| | | | | metze | ||||
* | tevent: add tevent_set_abort_fn() | Stefan Metzmacher | 2009-03-12 | 1 | -0/+19 |
| | | | | metze | ||||
* | tevent: add tevent_signal_support() | Stefan Metzmacher | 2009-03-12 | 1 | -0/+8 |
| | | | | | | Not every tevent backend supports signal events. metze | ||||
* | lib/tevent: change to LGPLv3+ | Stefan Metzmacher | 2009-02-16 | 1 | -12/+17 |
| | | | | metze | ||||
* | lib/tevent: remove broken tevent_aio support | Stefan Metzmacher | 2009-02-13 | 1 | -19/+0 |
| | | | | | | | | | | | | It makes no sense to support aio events because, the current implementation was based on IOCB_CMD_EPOLL_WAIT which never made it into the main kernel tree. The native linux aio can be used with select/epoll using eventfd(), which means we can implement aio with fd events and implement aio outside of tevent. metze | ||||
* | tevent: use for() loops instead of while() loops | Stefan Metzmacher | 2009-01-12 | 1 | -12/+9 |
| | | | | metze | ||||
* | tevent: Fix build break | Tim Prouty | 2009-01-11 | 1 | -1/+1 |
| | |||||
* | Fix tevent_common_context_destructor to remove all events instead of just ↵ | Bo Yang | 2009-01-11 | 1 | -4/+10 |
| | | | | | | | the first one Signed-off-by: Bo Yang <boyang@novell.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | tevent: don't try to dereference fde->event_ctx when the event context ↵ | Stefan Metzmacher | 2009-01-07 | 1 | -0/+3 |
| | | | | | | doesn't exists anymore metze | ||||
* | tevent: add tevent_context destructor that unlinks the events from the context | Stefan Metzmacher | 2009-01-05 | 1 | -0/+31 |
| | | | | metze | ||||
* | tevent: add tevent_fd_set_auto_close() | Stefan Metzmacher | 2009-01-03 | 1 | -0/+14 |
| | | | | | | | | tevent_fd_set_auto_close() is a simple wrapper arround tevent_fd_set_close_fn() with a callback that uses plain close(2). metze | ||||
* | tevent: add tevent_fd_set_close_fn() | Stefan Metzmacher | 2009-01-03 | 1 | -0/+10 |
| | | | | | | | Let callers specify a close function as an alternative to TEVENT_FD_AUTOCLOSE. metze | ||||
* | tevent: pass down handler_name and location to the backend layer | Stefan Metzmacher | 2009-01-02 | 1 | -4/+8 |
| | | | | metze | ||||
* | tevent: make tevent_add_*() macros arround _tevent_add_*() | Stefan Metzmacher | 2009-01-02 | 1 | -20/+33 |
| | | | | | | | This passes some additional debug information into the events system to make it easier to find bugs. metze | ||||
* | tevent: use HAVE_EPOLL instead of HAVE_EVENTS_EPOLL | Stefan Metzmacher | 2009-01-02 | 1 | -2/+2 |
| | | | | metze | ||||
* | tevent: rename event_register_backend() => tevent_register_backend() | Stefan Metzmacher | 2009-01-02 | 1 | -5/+5 |
| | | | | | | And fix the callers and there init functions. metze | ||||
* | tevent: rename event_context_init* => tevent_context_init*() | Stefan Metzmacher | 2009-01-02 | 1 | -25/+26 |
| | | | | metze | ||||
* | tevent: rename event_[s|g]et_fd_flags => tevent_fd_[s|g]et_flags | Stefan Metzmacher | 2009-01-02 | 1 | -2/+2 |
| | | | | metze | ||||
* | tevent: rename event_loop_* => tevent_loop_* | Stefan Metzmacher | 2009-01-02 | 1 | -4/+4 |
| | | | | metze | ||||
* | tevent: rename event_set_default_backend() => tevent_set_default_backend() | Stefan Metzmacher | 2009-01-02 | 1 | -5/+6 |
| | | | | metze | ||||
* | s4:tevent: move event_context_find() to tevent_s4.c | Stefan Metzmacher | 2009-01-02 | 1 | -18/+0 |
| | | | | metze | ||||
* | s4:lib/tevent: rename structs | Stefan Metzmacher | 2008-12-29 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | lib/tevent: rename event_* => tevent_* in the header file | Stefan Metzmacher | 2008-12-29 | 1 | -1/+1 |
| | | | | | | We have compat macros to keep the callers happy. metze | ||||
* | s4:lib/tevent: add lib/events/ compat and let things compile | Stefan Metzmacher | 2008-12-17 | 1 | -3/+3 |
| | | | | metze | ||||
* | s4:lib/events: move to toplevel directory as lib/tevent/ | Stefan Metzmacher | 2008-12-17 | 1 | -0/+310 |
This commit will not compile on its own. metze |