Lines Matching refs:pServer
3148 static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer, in lsapi_prefork_server_accept() argument
3202 if (pServer->m_iServerMaxIdle) in lsapi_prefork_server_accept()
3204 if ( pServer->m_iCurChildren <= 0 ) in lsapi_prefork_server_accept()
3207 if ( wait_secs > pServer->m_iServerMaxIdle ) in lsapi_prefork_server_accept()
3222 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
3225 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in lsapi_prefork_server_accept()
3232 if (pServer->m_iCurChildren > 0 in lsapi_prefork_server_accept()
3253 if (pServer->m_iCurChildren >= in lsapi_prefork_server_accept()
3254 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in lsapi_prefork_server_accept()
3258 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in lsapi_prefork_server_accept()
3259 pServer->m_iCurChildren, in lsapi_prefork_server_accept()
3265 pReq->m_fd = lsapi_accept( pServer->m_fd ); in lsapi_prefork_server_accept()
3303 && *s_busy_workers > (pServer->m_iMaxChildren >> 1)) in lsapi_prefork_server_accept()
3332 ++pServer->m_iCurChildren; in lsapi_prefork_server_accept()
3432 lsapi_prefork_server * pServer = g_prefork_server; in LSAPI_Accept_Before_Fork() local
3475 if (pServer->m_iServerMaxIdle) in LSAPI_Accept_Before_Fork()
3477 if (pServer->m_iCurChildren <= 0) in LSAPI_Accept_Before_Fork()
3480 if ( wait_secs > pServer->m_iServerMaxIdle ) in LSAPI_Accept_Before_Fork()
3495 FD_SET(pServer->m_fd, &readfds); in LSAPI_Accept_Before_Fork()
3498 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in LSAPI_Accept_Before_Fork()
3505 if (pServer->m_iCurChildren > 0 in LSAPI_Accept_Before_Fork()
3526 if (pServer->m_iCurChildren >= in LSAPI_Accept_Before_Fork()
3527 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in LSAPI_Accept_Before_Fork()
3531 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in LSAPI_Accept_Before_Fork()
3532 pServer->m_iCurChildren, in LSAPI_Accept_Before_Fork()
3538 pReq->m_fd = lsapi_accept(pServer->m_fd); in LSAPI_Accept_Before_Fork()