文件名称:threadpool:一个C实现的线程池
文件大小:6KB
文件格式:ZIP
更新时间:2024-07-27 02:49:27
C
特征 * A thread pool implementation by C language * It is very simply to use the thread pool, just need to include threadpool.h in your code * Start all threads on creation of the thread pool * Adding task can be in blocking way or noblocking way * Destory thread pool can be in wait_for_active_tasks way or immediately way 未来的工作 * Change dynamicly the size of thread pool * Policy-based thread pool
【文件预览】:
threadpool-master
----test()
--------test_tp_main.c(1KB)
--------repeat_run_test_tp_main.sh(63B)
----src()
--------threadpool.h(2KB)
--------listed_blocking_queue.h(1KB)
--------threadpool.c(6KB)
--------listed_blocking_queue.c(2KB)
----Makefile(495B)
----README.md(654B)