By writing a little C module I fixed the problem. By simply calling
the function in the child thrd's run method, things work as expected.
This is all the function (blockall) does:
sigset_t omask, nmask;
sigfillset(&nmask);
sigprocmask(SIG_SETMASK, &nmask, NULL);
bash-2.05b# python
I've run into an "opportunity" in a Python application using threads and
signals.
Basically, there is a main process that spawns off a child thread that loops
forever.
In between iterations, the child thread sleeps for X seconds. All the while,
the
main
thread loops forever doing its thing and