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:
parent
61a648f1d2
commit
db13c725a6
5 changed files with 10 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue