Skip to content
Snippets Groups Projects
Commit 595bf866 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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.
parent 25f2f9dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment