Lines Matching refs:pServer
3102 static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer, in lsapi_prefork_server_accept() argument
3158 if (pServer->m_iServerMaxIdle) in lsapi_prefork_server_accept()
3160 if ( pServer->m_iCurChildren <= 0 ) in lsapi_prefork_server_accept()
3163 if ( wait_secs > pServer->m_iServerMaxIdle ) in lsapi_prefork_server_accept()
3175 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
3178 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in lsapi_prefork_server_accept()
3185 if (pServer->m_iCurChildren > 0 && accepting > 0) in lsapi_prefork_server_accept()
3205 if (pServer->m_iCurChildren >= in lsapi_prefork_server_accept()
3206 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in lsapi_prefork_server_accept()
3210 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in lsapi_prefork_server_accept()
3211 pServer->m_iCurChildren, in lsapi_prefork_server_accept()
3217 pReq->m_fd = lsapi_accept( pServer->m_fd ); in lsapi_prefork_server_accept()
3257 && *s_busy_workers > (pServer->m_iMaxChildren >> 1)) in lsapi_prefork_server_accept()
3284 ++pServer->m_iCurChildren; in lsapi_prefork_server_accept()