diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-28 10:45:22 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-09 21:37:41 +0200 |
commit | 1533f1722de96f814c5e9de9aebc2892eb4bf882 (patch) | |
tree | 9fe1e37f919a0767bd77b1779f22022d722b46f3 /lib/util/data_blob.c | |
parent | 6b7d58cb4ee3ed7796a8dc67c214a1b8439fbaeb (diff) | |
download | samba-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/util/data_blob.c')
0 files changed, 0 insertions, 0 deletions