mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Cover more ST Coroutine code
This commit is contained in:
parent
3d5508e088
commit
1ce040cc2c
3 changed files with 44 additions and 6 deletions
|
@ -133,6 +133,8 @@ private:
|
|||
bool started;
|
||||
bool interrupted;
|
||||
bool disposed;
|
||||
// Cycle done, no need to interrupt it.
|
||||
bool cycle_done;
|
||||
public:
|
||||
// Create a thread with name n and handler h.
|
||||
// @remark User can specify a cid for thread to use, or we will allocate a new one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue