![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Threads
jjdujiang
这个作者很懒,什么都没留下…
展开
-
windows下编译ZThread-2.3.2
到网上下载ZThread-2.3.2 用VS2008编译静态库,新建win32静态库工程CompileZThread, 设置头文件路径../ZThread-2.3.2\include 将src文件夹中的文件(子文件夹不要添加)拷贝到CompileZThread工程文件夹中,并添加到工程中 将src文件夹里的子文件夹vanilla、solaris、win32里的文件也原创 2016-04-03 16:05:52 · 1251 阅读 · 0 评论 -
windows下使用pthreads-2.9.1
到网上下载pthreads-w32-2-9-1-release.zip,下载之后解压,编译好的动态库、导入库、头文件在文件夹Pre-built.2中,设置include路径,lib路径直接使用就可以了。 #include "pthread.h" void* Function_t(void* Param) { printf("我是线程! "); pthread_t myid =原创 2016-04-03 20:08:38 · 1869 阅读 · 0 评论