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

research st: replace the TAB with 4spaces

This commit is contained in:
winlin 2014-11-05 17:10:54 +08:00
parent 0faa38dc0c
commit 55bd1dd95e
7 changed files with 183 additions and 183 deletions

View file

@ -143,7 +143,7 @@ int st_usleep(st_utime_t usecs)
int st_sleep(int secs)
{
return st_usleep((secs >= 0) ? secs * (st_utime_t) 1000000LL :
ST_UTIME_NO_TIMEOUT);
ST_UTIME_NO_TIMEOUT);
}
@ -230,13 +230,13 @@ static int _st_cond_signal(_st_cond_t *cvar, int broadcast)
thread = _ST_THREAD_WAITQ_PTR(q);
if (thread->state == _ST_ST_COND_WAIT) {
if (thread->flags & _ST_FL_ON_SLEEPQ)
_ST_DEL_SLEEPQ(thread);
_ST_DEL_SLEEPQ(thread);
/* Make thread runnable */
thread->state = _ST_ST_RUNNABLE;
_ST_ADD_RUNQ(thread);
if (!broadcast)
break;
break;
}
}