Feature: add adaptive primitives for both fiber and pthread context by hzlushiliang · Pull Request #87 · trpc-group/trpc-cpp
- Add FiberMutex primitive
- Add FiberConditionVariable primitive
- Add FiberSharedMutex primitive
- Add FiberSleepFor primitive
- Add FiberSleepUntil primitive
- Add FiberLatch primitive
- Add FiberEvent primitive
- Add futex_notifier_test
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是不是有一些头文件的注释和校验fiber环境没有改?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确实,开源版本在主库的基础上加了很多注释,这些注释也要对应调整,我调整一下
- Add FiberMutex primitive - Add FiberConditionVariable primitive - Add FiberSharedMutex primitive - Add FiberSleepFor primitive - Add FiberSleepUntil primitive - Add FiberLatch primitive - Add FiberEvent primitive - Add futex_notifier_test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters