mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-25 14:04:27 +00:00
Merge pull request #522 from sipa/minorfix
SocketHandler thread can be detached
This commit is contained in:
commit
700f942692
@ -1713,7 +1713,7 @@ void StartNode(void* parg)
|
|||||||
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
|
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
|
||||||
|
|
||||||
// Send and receive from sockets, accept connections
|
// Send and receive from sockets, accept connections
|
||||||
CreateThread(ThreadSocketHandler, NULL, true);
|
CreateThread(ThreadSocketHandler, NULL);
|
||||||
|
|
||||||
// Initiate outbound connections
|
// Initiate outbound connections
|
||||||
if (!CreateThread(ThreadOpenConnections, NULL))
|
if (!CreateThread(ThreadOpenConnections, NULL))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user