diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-22 12:45:39 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-01 12:01:54 -0800 |
commit | 35385a3e28850d0915e8cf2883871ae2101526f1 (patch) | |
tree | 79cc502e6efe9bca3d84a8663d202fe80aa71e60 /lib/nss_wrapper/nss_wrapper.c | |
parent | afd4198bf1ee5877a660d42e615e06d895690161 (diff) | |
download | samba-35385a3e28850d0915e8cf2883871ae2101526f1.tar.gz samba-35385a3e28850d0915e8cf2883871ae2101526f1.tar.bz2 samba-35385a3e28850d0915e8cf2883871ae2101526f1.zip |
tevent: optimize adding new zero timer events
Such events were used before we had immediate events.
It's likely that there're a lot of this events
and we need to add new ones in fifo order.
The tricky part is that tevent_common_add_timer()
should not use the optimization as it's used
by broken Samba versions, which don't use
tevent_common_loop_timer_delay() in source3/lib/events.c.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/nss_wrapper/nss_wrapper.c')
0 files changed, 0 insertions, 0 deletions