BSD Ports

devel/pthreadpool 0.1.126 DragonFly

Pthread-based thread pool for C/C++ for arrays parallelization

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
devel
Package size
25.5 KiB, 113.2 KiB installed

Description

pthreadpool is a pthread-based thread pool implementation. It is intended to provide functionality of #pragma omp parallel for for POSIX systems where OpenMP is not available.

Features: * C interface (C++-compatible) * Run on user-specified or auto-detected number of threads * Work-stealing scheduling for efficient work balancing * Compatible with Linux, macOS, and Native Client environments * Covered with unit tests and microbenchmarks

In the other systems

SystemPortVersion
DragonFlydevel/pthreadpool0.1.126
FreeBSDdevel/pthreadpool0.1.147
MidnightBSDdevel/pthreadpool0.1.126

Install

Binary package:

pkg install pthreadpool

From DPorts:

cd /usr/dports/devel/pthreadpool && make install clean

Dependencies

No port depends on this one.