]> git.sur5r.net Git - openldap/commit
Cleanup thread handling to resolve non-exiting daemons on FreeBSD.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 30 Dec 1998 00:06:27 +0000 (00:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 30 Dec 1998 00:06:27 +0000 (00:06 +0000)
commit595bf86635fabc054cca0e2da70129bec777cfaf
tree64321aa4c7d2e6a887f8ebf5af46088923ddf1a8
parent25f2f9dd70274f98cb5536cffaa03674c605bbbe
Cleanup thread handling to resolve non-exiting daemons on FreeBSD.
Seems that calling pthread_exit() in the main (and only active)
thread does not cause the whole process to exit.  Very odd.
Anyways, as we want to whole process to exit, we should just exit
after joining with our other threads.
I've also removed dead code for detaching threads we join with.
servers/slapd/main.c
servers/slurpd/main.c
servers/slurpd/replica.c