in reply to Re^5: Threads, bash, and networking
in thread Threads, bash, and networking
When I run your code example, "main:Awooga!" is printed.
Hm. Looks like another *nix/windows difference in implementation. I agree with you, that renders alarm in threads pretty much useless on *nix.
Which is a shame because it is (currently) quite useful on windows. Presumably because all signals are just emulations there.
I also think that in general mixing signals and threads is a bad idea, but I make this one exception for SIGALRM.
|
|---|