Sorry, I misunderstand detach(). Actually, what I want is terminating $thr_1 when time's up in $thr_2
I have to write it with an old perl version v5.8.8 built for x86_64-linux-thread-multi. So there is no exit() or kill() available in the module.
In reply to Re^2: how can I detach a thread from another or how can I set a timer for a thread?
by boeingdream
in thread how can I detach a thread from another or how can I set a timer for a thread?
by boeingdream
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |