summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_immediate.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-28 10:45:22 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-09 21:37:41 +0200
commit1533f1722de96f814c5e9de9aebc2892eb4bf882 (patch)
tree9fe1e37f919a0767bd77b1779f22022d722b46f3 /lib/tevent/tevent_immediate.c
parent6b7d58cb4ee3ed7796a8dc67c214a1b8439fbaeb (diff)
downloadsamba-1533f1722de96f814c5e9de9aebc2892eb4bf882.tar.gz
samba-1533f1722de96f814c5e9de9aebc2892eb4bf882.tar.bz2
samba-1533f1722de96f814c5e9de9aebc2892eb4bf882.zip
tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()
This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
Diffstat (limited to 'lib/tevent/tevent_immediate.c')
0 files changed, 0 insertions, 0 deletions