【发布时间】:2011-01-10 04:36:32
【问题描述】:
如果我尝试用
编译一个程序#include <pthread.h>
在里面,我得到了错误:
pthread.h: No such file or directory
是否可以在 Windows 环境中编译?
我正在使用带有最新 MinGW 的 Vista。
我不想使用 Microsoft Windows Services for UNIX 版本 3.5,因为我必须将其移至 Unix 环境。
【问题讨论】:
标签: c windows multithreading pthreads