RECENT POSTS

P5-thread-cancel

May 26, 2018

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 ThreadSuspend do not need to be resumed in order to be cancelled.

It is possible for a thread to cancel itself.

WWW http//search.cpan.org/dist/Thread-Cancel/