Browse Source

SocketHandler thread can be detached

0.8
Pieter Wuille 13 years ago
parent
commit
88367a5fb8
  1. 2
      src/net.cpp

2
src/net.cpp

@ -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…
Cancel
Save