roughly auto-config threads depending on cpu count

This commit is contained in:
Jean-Francois Dockes
2013-04-25 09:00:50 +02:00
parent 2b80c77c23
commit ec68cd95ba
11 changed files with 236 additions and 10 deletions
+1 -1
View File
@@ -536,7 +536,7 @@ int ExecCmd::send(const string& data)
break;
int n = con->send(data.c_str() + nwritten, data.length() - nwritten);
if (n < 0) {
LOGERR(("ExecCmd::doexec: send failed\n"));
LOGERR(("ExecCmd::send: send failed\n"));
return -1;
}
nwritten += n;