Feature: add adaptive primitives for both fiber and pthread context by hzlushiliang · Pull Request #87 · trpc-group/trpc-cpp

@hzlushiliang

  • 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

@codecov

trpc-admin

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.

确实,开源版本在主库的基础上加了很多注释,这些注释也要对应调整,我调整一下

@hzlushiliang

- 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

helloopenworld