On Mon, Sep 25, 2000 at 03:02:05PM -0700, Linus Torvalds wrote:
> sigdelset(>signal, sig);
I just tested this using my perl-5.005-threads program... no change from
my last email (only 1023 threads created, program fails to respond to
ctrl-c when more than 1023 threads are attempted). This
On Mon, Sep 25, 2000 at 03:02:05PM -0700, Linus Torvalds wrote:
sigdelset(list-signal, sig);
I just tested this using my perl-5.005-threads program... no change from
my last email (only 1023 threads created, program fails to respond to
ctrl-c when more than 1023 threads are attempted).
Duh. This was a really stupid bug.
In kernel/signal.c, collect_signal(), for the case where we don't find a
siginfo block, we need to clear the signal set.
In short, add the line
sigdelset(>signal, sig);
just before the first "return 1" in collect_signal(), and all should be
well
Duh. This was a really stupid bug.
In kernel/signal.c, collect_signal(), for the case where we don't find a
siginfo block, we need to clear the signal set.
In short, add the line
sigdelset(list-signal, sig);
just before the first "return 1" in collect_signal(), and all should be
well
4 matches
Mail list logo