Permalink
Browse files

Create conn threads in detached state since we never join them SERVER…

…-2707
  • Loading branch information...
1 parent 03ae331 commit 7323ec1545e9b0b932bd74fbd16e6e6eab3c4661 @RedBeard0531 RedBeard0531 committed Jun 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 util/message_server_port.cpp
@@ -110,6 +110,7 @@ namespace mongo {
#else
pthread_attr_t attrs;
pthread_attr_init(&attrs);
+ pthread_attr_setdetachstate(&attrs, PTHREAD_CREATE_DETACHED);
static const size_t STACK_SIZE = 1024*1024;
pthread_attr_setstacksize(&attrs, (DEBUG_BUILD

0 comments on commit 7323ec1

Please sign in to comment.