1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine #259, rename the on_dispose to wakeup. 2.0.73

This commit is contained in:
winlin 2014-12-19 09:19:47 +08:00
parent 61a648f1d2
commit db13c725a6
5 changed files with 10 additions and 9 deletions

View file

@ -247,9 +247,11 @@ public:
*/
virtual void wait(int nb_msgs, int duration);
/**
* when waiting, a message incomming, we rouse it
* when the consumer(for player) got msg from recv thread,
* it must be processed for maybe it's a close msg, so the cond
* wait must be wakeup.
*/
virtual void on_dispose();
virtual void wakeup();
#endif
/**
* when client send the pause message.