tevent: let tevent_loop_once() just run one fd event
authorStefan Metzmacher <metze@samba.org>
Mon, 16 Mar 2009 11:34:23 +0000 (12:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 Mar 2009 15:48:14 +0000 (16:48 +0100)
commit1eb7ad106499865713c28847f491aae10f37beb7
treec4d5b6b2162de9b41aa30fa7a3ea2efa04a60cff
parent606b55d220c354f11299d633b1387afd4bc47c55
tevent: let tevent_loop_once() just run one fd event

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
(cherry picked from commit 3af7db3dce0e5529114f6969e9905c6d4c65dfe8)
lib/tevent/tevent_epoll.c
lib/tevent/tevent_select.c
lib/tevent/tevent_standard.c