本文记录在Windows下编译pthreads的流程。
零、环境
操作系统 | Windows 11 |
VS Code | 1.92.1 |
Git | 2.34.1 |
MSYS2 | msys2-x86_64-20240507 |
Visual Studio | Visual Studio Community 2022 |
CMake | 3.22.1 |
一、编译安装
1.1 下载
git clone https://git.code.sf.net/p/pthreads4w/code
1.2 构建
1.3 编译
二、使用pthreads
网络资料
pthreads-win32