1. Home
  2. Browse
  3. pthreads

pthreads

v3.0.0-4#0Go to latest

pthreads for windows

Install

Run the following Vcpkg command to install the port.

vcpkg install pthreads

Usage

The package pthreads provides CMake targets:

find_package(pthreads REQUIRED)

target_link_libraries(main PRIVATE PThreads4W::PThreads4W)
#or
target_link_libraries(main PRIVATE PThreads4W::PThreads4W_CXXEXC)
#or
target_link_libraries(main PRIVATE PThreads4W::PThreads4W_STRUCTEXC)
See source

Version

v3.0.0-4#0

Publication

Supports

!(uwp|arm|arm64)

Homepage

sourceware.org/pub/pthreads-win32

Subtree

e62d136128

License

Complex license

Definition

Control