]> git.sur5r.net Git - openldap/commit
Change SLAPD shutdown to do a cond wait on active threads instead
authorKurt Zeilenga <kurt@openldap.org>
Mon, 11 Jan 1999 18:36:40 +0000 (18:36 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 11 Jan 1999 18:36:40 +0000 (18:36 +0000)
commit82b94e2258a4ee7dbd21155418b34f0596c18611
tree5cd8208c9299e7165d6da94039899cfa31d0bd59
parent334768c1bbb867f5a5a31d78f20152de5526c2ba
Change SLAPD shutdown to do a cond wait on active threads instead
of a busy wait and allow the pthread_yield within the loop to be
removed.  This was the only pthread_yield which was necessary
when usng non-preemptive threads.  As such, the configure.in
sched_yield/pthread_yield missing error can be removed from
configure.in.  If explicit yield function is missing, just provide
a no-op replacement.
Moved declaration of various slapd globals from main.c to init.c
so they can be shared with ldbm tools.
17 files changed:
INSTALL
configure
configure.in
include/portable.h.in
libraries/liblthread/thread.c
servers/slapd/connection.c
servers/slapd/daemon.c
servers/slapd/init.c
servers/slapd/main.c
servers/slapd/proto-slap.h
servers/slapd/result.c
servers/slapd/tools/ldbmtest.c
servers/slapd/tools/ldif.c
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2id2entry.c
servers/slapd/tools/ldif2index.c
servers/slapd/tools/ldif2ldbm.c