mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the thread stop bug, must wait when not joinable.
This commit is contained in:
parent
d317528af9
commit
66837ffa6e
3 changed files with 17 additions and 14 deletions
|
@ -293,10 +293,14 @@ private:
|
|||
virtual void dispose();
|
||||
// server startup workflow, @see run_master()
|
||||
public:
|
||||
/**
|
||||
* initialize server with callback handler.
|
||||
* @remark user must free the cycle handler.
|
||||
*/
|
||||
virtual int initialize(ISrsServerCycle* cycle_handler);
|
||||
virtual int initialize_st();
|
||||
virtual int initialize_signal();
|
||||
virtual int acquire_pid_file();
|
||||
virtual int initialize_st();
|
||||
virtual int listen();
|
||||
virtual int register_signal();
|
||||
virtual int http_handle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue