Lines Matching refs:pServer

3177 static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer,  in lsapi_prefork_server_accept()  argument
3231 if (pServer->m_iServerMaxIdle) in lsapi_prefork_server_accept()
3233 if ( pServer->m_iCurChildren <= 0 ) in lsapi_prefork_server_accept()
3236 if ( wait_secs > pServer->m_iServerMaxIdle ) in lsapi_prefork_server_accept()
3251 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
3254 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in lsapi_prefork_server_accept()
3261 if (pServer->m_iCurChildren > 0 in lsapi_prefork_server_accept()
3282 if (pServer->m_iCurChildren >= in lsapi_prefork_server_accept()
3283 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in lsapi_prefork_server_accept()
3287 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in lsapi_prefork_server_accept()
3288 pServer->m_iCurChildren, in lsapi_prefork_server_accept()
3294 pReq->m_fd = lsapi_accept( pServer->m_fd ); in lsapi_prefork_server_accept()
3332 && *s_busy_workers > (pServer->m_iMaxChildren >> 1)) in lsapi_prefork_server_accept()
3361 ++pServer->m_iCurChildren; in lsapi_prefork_server_accept()
3461 lsapi_prefork_server * pServer = g_prefork_server; in LSAPI_Accept_Before_Fork() local
3504 if (pServer->m_iServerMaxIdle) in LSAPI_Accept_Before_Fork()
3506 if (pServer->m_iCurChildren <= 0) in LSAPI_Accept_Before_Fork()
3509 if ( wait_secs > pServer->m_iServerMaxIdle ) in LSAPI_Accept_Before_Fork()
3524 FD_SET(pServer->m_fd, &readfds); in LSAPI_Accept_Before_Fork()
3527 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in LSAPI_Accept_Before_Fork()
3534 if (pServer->m_iCurChildren > 0 in LSAPI_Accept_Before_Fork()
3555 if (pServer->m_iCurChildren >= in LSAPI_Accept_Before_Fork()
3556 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in LSAPI_Accept_Before_Fork()
3560 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in LSAPI_Accept_Before_Fork()
3561 pServer->m_iCurChildren, in LSAPI_Accept_Before_Fork()
3567 pReq->m_fd = lsapi_accept(pServer->m_fd); in LSAPI_Accept_Before_Fork()