You are here: Home » Reply » Reply To: Unable to stop mt-daapd 0.2.4 with daemontools

Reply To: Unable to stop mt-daapd 0.2.4 with daemontools

#5083
rpedde
Participant

@marlowe wrote:

Close, I need it to respond to a SIGTERM. If you could get the parent thread to respond to signals, that would be perfect. My understanding is the nightlies respond to SIGTERM now.

They do, but the parent process has signals masked. I though the pthreads spec said that the signal should be delivered to a thread without signals blocked, but apparently that’s wrong, or I don’t understand pthreads correctly. (Wonder which one that is?)