avoid a race condition between msg_init and the libevent thread's tr_dbg() call
This commit is contained in:
parent
d6365184e7
commit
87496d2b48
|
@ -87,9 +87,8 @@ tr_handle_t * tr_init( const char * tag )
|
|||
tr_handle_t * h;
|
||||
int i;
|
||||
|
||||
tr_threadNew( libeventThreadFunc, NULL, "libeventThreadFunc" );
|
||||
|
||||
tr_msgInit();
|
||||
tr_threadNew( libeventThreadFunc, NULL, "libeventThreadFunc" );
|
||||
tr_netInit();
|
||||
tr_netResolveThreadInit();
|
||||
|
||||
|
|
Loading…
Reference in New Issue