BSD Ports

devel/pthreadpool 0.1.126 MidnightBSD

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

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2
Categories
devel

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
MidnightBSDdevel/pthreadpool0.1.126
FreeBSDdevel/pthreadpool0.1.147
DragonFlydevel/pthreadpool0.1.126

Install

Binary package:

mport install pthreadpool

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pthreadpool>0:devel/pthreadpool

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1
Required by 2

Configuration

No options to configure.

USES
cmake compiler:c11 localbase
Service scripts
none

Files

distinfo 1
FileSizeSHA256
Maratyszcza-pthreadpool-0.1-126-gb8374f8_GH0.tar.gz489213dceabf2b1336ee9b7939fbc9e995876df61fd7760b706cfd1c33b9cd137865d