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
|
@ -516,7 +516,7 @@ void SrsConsumer::wait(int nb_msgs, int duration)
|
|||
st_cond_wait(mw_wait);
|
||||
}
|
||||
|
||||
void SrsConsumer::on_dispose()
|
||||
void SrsConsumer::wakeup()
|
||||
{
|
||||
if (mw_waiting) {
|
||||
st_cond_signal(mw_wait);
|
||||
|
@ -1635,7 +1635,7 @@ void SrsSource::on_unpublish()
|
|||
_source_id = -1;
|
||||
}
|
||||
|
||||
int SrsSource::create_consumer(SrsConsumer*& consumer)
|
||||
int SrsSource::create_consumer(SrsConsumer*& consumer)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue