chenshuo / muduo

Event-driven network library for multi-threaded Linux server in C++11
https://github.com/chenshuo/muduo
Other
14.89k stars 5.18k forks source link

为什么Condition.h中不实用waiter class的bool判断方式 #269

Closed foobra closed 7 years ago

foobra commented 7 years ago

在https://gist.github.com/chenshuo/6430925中,waiter class使用了signaled_, 为什么 Congition.h里面反而不用了

chenshuo commented 7 years ago

在 Condition.h 里你打算怎么用?