【文件属性】:
文件名称:Nginx _-_-:Nginx_线程池_删减版
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-08 04:01:54
C
Nginx _-_-
Nginx_线程池_缩小减版
编译
gcc demo_main.c thread_cond.c thread_mutex.c thread_pool.c -o demo_main -lpthread
运行
➜ Nginx_-_- git:(main) ✗ ./demo_main
Hello, this is 1th test.index=0
Hello, this is 2th test.index=0
Hello, this is 3th test.index=0
arg1: 666, arg2: 888
➜ Nginx_-_- git:(main) ✗
【文件预览】:
Nginx_-_--main
----demo_main.c(1KB)
----thread_mutex.c(2KB)
----thread.h(758B)
----thread_pool.h(1KB)
----.gitignore(430B)
----thread_pool.c(5KB)
----README.md(358B)
----thread_cond.c(1KB)