summaryrefslogtreecommitdiff
path: root/devel/p5-Thread-Cancel/pkg-descr
blob: b81a9aa901ff2c523fb8d1da972064078a61b14c (plain)
1
2
3
4
5
6
7
8
9
10
11
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.


WWW: https://metacpan.org/release/Thread-Cancel