winlin

remove wait interval for signal

@@ -70,8 +70,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -70,8 +70,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
70 // SRS_SYS_CYCLE_INTERVAL * SRS_SYS_MEMINFO_RESOLUTION_TIMES 70 // SRS_SYS_CYCLE_INTERVAL * SRS_SYS_MEMINFO_RESOLUTION_TIMES
71 #define SRS_SYS_MEMINFO_RESOLUTION_TIMES 60 71 #define SRS_SYS_MEMINFO_RESOLUTION_TIMES 60
72 72
73 -#define SRS_SIGNAL_THREAD_INTERVAL (int64_t)(100*1000LL)  
74 -  
75 SrsListener::SrsListener(SrsServer* server, SrsListenerType type) 73 SrsListener::SrsListener(SrsServer* server, SrsListenerType type)
76 { 74 {
77 fd = -1; 75 fd = -1;
@@ -194,7 +192,7 @@ SrsSignalManager::SrsSignalManager(SrsServer* server) @@ -194,7 +192,7 @@ SrsSignalManager::SrsSignalManager(SrsServer* server)
194 192
195 _server = server; 193 _server = server;
196 sig_pipe[0] = sig_pipe[1] = -1; 194 sig_pipe[0] = sig_pipe[1] = -1;
197 - pthread = new SrsThread(this, SRS_SIGNAL_THREAD_INTERVAL); 195 + pthread = new SrsThread(this, 0);
198 signal_read_stfd = NULL; 196 signal_read_stfd = NULL;
199 } 197 }
200 198