]> git.sur5r.net Git - openldap/commit
Reworked thread code to better support thread-library specific
authorKurt Zeilenga <kurt@openldap.org>
Tue, 13 Jun 2000 02:42:13 +0000 (02:42 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 13 Jun 2000 02:42:13 +0000 (02:42 +0000)
commitec426532b2cca95330566b1941795dac7e03bb57
tree2eedc49b5d9042ba814fc456f390c36854a13617
parent1bfcb4b03915b951392d3c36483b7ce84ba5a6e3
Reworked thread code to better support thread-library specific
r/w locks and thread pools.  Hide internal structures (using
pthread'ish technics).  Place common code in threads.c.  Move
no-thread code to thr_stub.c.  Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd.  Tested code under pthreads, pth, and no-threads.
21 files changed:
doc/man/man5/slapd.conf.5
include/ldap_int_thread.h
include/ldap_pvt_thread.h
libraries/libldap_r/Makefile.in
libraries/libldap_r/rdwr.c
libraries/libldap_r/thr_cthreads.c
libraries/libldap_r/thr_lwp.c
libraries/libldap_r/thr_nt.c
libraries/libldap_r/thr_posix.c
libraries/libldap_r/thr_pth.c
libraries/libldap_r/thr_sleep.c [deleted file]
libraries/libldap_r/thr_stub.c
libraries/libldap_r/thr_thr.c
libraries/libldap_r/threads.c
libraries/libldap_r/tpool.c [new file with mode: 0644]
servers/slapd/backend.c
servers/slapd/config.c
servers/slapd/connection.c
servers/slapd/daemon.c
servers/slapd/init.c
servers/slapd/monitor.c