Does that happen only with SIGPROF? Could SIGUSR2 have the same problem? which is used for stopping threads.
Does that happen only with SIGPROF? Could SIGUSR2 have the same problem? which is used for stopping threads.