Thanks for the quick answer!
Yes, this seems a like a perfect example as to why not mix threads, forks and signals.
I had a previous implementation without the thread which worked okay, so I guess I'm rolling back to that.
In reply to Re^2: Interesting behaviour with signals and threads
by shulam
in thread Interesting behaviour with signals and threads
by shulam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |