FreeBSD.software
Home/devel/p5-Thread-Cancel

p5-Thread-Cancel

1.13_2devel

Cancel (i.e., kill) threads

This module adds cancellation capabilities for threads. Cancelled threads are terminated using threads->exit(). The thread is then detached, and hence automatically cleaned up. Threads that are suspended using Thread::Suspend do not need to be resumed in order to be cancelled. It is possible for a thread to cancel itself.

$pkg install p5-Thread-Cancel
metacpan.org/release/Thread-Cancel
Origin
devel/p5-Thread-Cancel
Size
6.58KiB
License
not specified
Maintainer
perl@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)