]> git.sur5r.net Git - openldap/commit
Simplify write waiter handling
authorHoward Chu <hyc@openldap.org>
Thu, 15 Aug 2013 00:25:11 +0000 (17:25 -0700)
committerHoward Chu <hyc@openldap.org>
Sat, 7 Sep 2013 21:53:02 +0000 (14:53 -0700)
commit88d22a1ca3b28e10e6557e8aebbd75dd61fed511
treec2ecae0dc487e587e0cf1219c49ea44bc2d0c682
parent7d6d6944c574e9030807369213b5aea53662167a
Simplify write waiter handling

Writer threads do their own wait using select/poll instead of
asking the listener thread. Eliminates one mutex+one condvar
per conn plus multiple wakeups of the listener thread. Also
fixes writetimeout to wait an exact time, instead of the
approximation used in the listener thread.
servers/slapd/connection.c
servers/slapd/daemon.c
servers/slapd/proto-slap.h
servers/slapd/result.c