BSD Ports

devel/p5-Thread-Cancel 1.13_1 DragonFly

Cancel (i.e., kill) threads

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, perl5
Package size
5.0 KiB, 6.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Thread-Cancel1.13_1
FreeBSDdevel/p5-Thread-Cancel1.13_2
HardenedBSDdevel/p5-Thread-Cancel1.13_2
GhostBSDdevel/p5-Thread-Cancel1.13_2

Install

Binary package:

pkg install p5-Thread-Cancel

From DPorts:

cd /usr/dports/devel/p5-Thread-Cancel && make install clean

Dependencies

Run dependencies 2

No port depends on this one.