pthreads4w
POSIX Threads for Win32
Latest version: 3.0.0
Add to xmake.lua
add_requires("pthreads4w 3.0.0")Learn how to add and link packages with Xmake →
Information
- Recipe updated
- 2026-07-20T07:50:30.000Z
Platforms
- mingw: i386, x86_64, arm, arm64
- windows: x86, x64
Options
No configurable options.
Versions
- 3.0.0
Dependencies
No dependencies declared.
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "pthreads4w 3.0.0"show info
xrepo info "pthreads4w"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("pthreads4w 3.0.0")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("pthreads4w")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "pthreads4w 3.0.0" shell