I think he intends to send a SIGKILL: $D->kill('KILL') ...
The thing I wonder about is the signals themselves. When I think of signal handlers and things, I usually think of fork not threads... I'm very bad at threads so far though, so I could be wrong about that.
It would seem that the thread method $thrd->kill() sends a signal to the one thread. In all their examples, they use $thrd->kill("KILL")->detach (for cleanup); and the parent poster detaches before signaling. It makes me wonder if you can even do that... But, again, I don't really know.
update: oh, duh, you can't catch the 9th signal... way to go fletch.
|