Skip to content

fix(thread pool): fix lost wakeup problem

MCWDX requested to merge hotfix/LostWakeUp into main
  • Fix lost wakeup problem by ensuring the thread holds queue mutex before notifying
  • Delete redundant if statement before cv.wait()
  • Add multithread load check test
  • Shorten circular queue code
  • Shorten MPMC blocking queue code
  • Shorten test code and remove redundant cout lines

Merge request reports

Loading