Re: Bug in the MILTER documentation



> But I've looked in the code, and the threads are detached (there's a
> pthread_detach() call right after the thread is started), so other
> thread can wait() for them to finish properly. Also, to the best of my
> knowledge, there is no other synchronization mechanism (such as waiting
> on a semaphore or some condition variable) so that the threads are
> properly stopped.

Sorry for my typing, this was meant to say that since all worker threads
are detached, no other thread can join() them :-). It should have read
"so _no_ other thread can wait() for them to finish properly".
.



Relevant Pages