关于thrdpool模块的讨论 #886
Unanswered
holmes1412
asked this question in
Ideas
Replies: 2 comments 3 replies
-
关于thrdpool_t中的cond,请问这个的作用是什么呢? |
Beta Was this translation helpful? Give feedback.
1 reply
-
请问下msgqueue_create(0, 0)为什么消息的个数初始化为0? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
最近深入阅读了thrdpool模块的源码,感觉这个模块在设计上有许多新颖的点,单独拿出来使用也非常方便。后来发了篇笔记,引发了许多热心开发者的讨论~~~
想要知道大家对线程池都有怎样的需求和想法呢?包括接口和架构设计的点子都非常欢迎。
源码链接:
https://github.com/sogou/workflow/blob/master/src/kernel/thrdpool.c
https://github.com/sogou/workflow/blob/master/src/kernel/thrdpool.h
Beta Was this translation helpful? Give feedback.
All reactions