mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Clock: Update stat. Insert timer to execute first
This commit is contained in:
parent
fb61a6979c
commit
321f555e30
10 changed files with 112 additions and 65 deletions
1
trunk/3rdparty/st-srs/common.h
vendored
1
trunk/3rdparty/st-srs/common.h
vendored
|
@ -299,6 +299,7 @@ extern _st_eventsys_t *_st_eventsys;
|
|||
#define _ST_DEL_IOQ(_pq) ST_REMOVE_LINK(&_pq.links)
|
||||
|
||||
#define _ST_ADD_RUNQ(_thr) ST_APPEND_LINK(&(_thr)->links, &_ST_RUNQ)
|
||||
#define _ST_INSERT_RUNQ(_thr) ST_INSERT_LINK(&(_thr)->links, &_ST_RUNQ)
|
||||
#define _ST_DEL_RUNQ(_thr) ST_REMOVE_LINK(&(_thr)->links)
|
||||
|
||||
#define _ST_ADD_SLEEPQ(_thr, _timeout) _st_add_sleep_q(_thr, _timeout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue