| 171 |
if (this->GetThreadPool()->GetThreadCount() < MAX_CLIENT) |
if (this->GetThreadPool()->GetThreadCount() < MAX_CLIENT) |
| 172 |
{ |
{ |
| 173 |
if (hThreadCurrent = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)base_passive::AcceptThread,(LPVOID)p,0,&ulThreadId)) |
if (hThreadCurrent = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)base_passive::AcceptThread,(LPVOID)p,0,&ulThreadId)) |
| 174 |
// base_passive::uThreadCount++; |
{ |
| 175 |
CloseHandle(hThreadCurrent); |
CloseHandle(hThreadCurrent); |
| 176 |
syslog << logfile::log_head << "Create accept thread ... OK" << endl; |
syslog << logfile::log_head << "Create accept thread ... OK" << endl; |
| 177 |
} |
} |