mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
2ed2513f08
commit
ea9a5f26d9
18 changed files with 174 additions and 274 deletions
|
@ -63,10 +63,10 @@ public:
|
|||
* when worker call with the task, the worker will do it in isolate thread.
|
||||
* that is, the task is execute/call in async mode.
|
||||
*/
|
||||
class SrsAsyncCallWorker : public ISrsReusableThreadHandler
|
||||
class SrsAsyncCallWorker : public ISrsCoroutineHandler
|
||||
{
|
||||
private:
|
||||
SrsReusableThread* pthread;
|
||||
SrsCoroutine* trd;
|
||||
protected:
|
||||
std::vector<ISrsAsyncCallTask*> tasks;
|
||||
st_cond_t wait;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue