in reply to ithreads not behaving as expected
If you're trying to mix threads and signals, my only advice is to avoid that. Threads and signals are two very OS-specificy concepts and they certaily don't mix well.