Lines Matching refs:pServer
3129 static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer, in lsapi_prefork_server_accept() argument
3183 if (pServer->m_iServerMaxIdle) in lsapi_prefork_server_accept()
3185 if ( pServer->m_iCurChildren <= 0 ) in lsapi_prefork_server_accept()
3188 if ( wait_secs > pServer->m_iServerMaxIdle ) in lsapi_prefork_server_accept()
3203 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
3206 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in lsapi_prefork_server_accept()
3213 if (pServer->m_iCurChildren > 0 in lsapi_prefork_server_accept()
3234 if (pServer->m_iCurChildren >= in lsapi_prefork_server_accept()
3235 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in lsapi_prefork_server_accept()
3239 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in lsapi_prefork_server_accept()
3240 pServer->m_iCurChildren, in lsapi_prefork_server_accept()
3246 pReq->m_fd = lsapi_accept( pServer->m_fd ); in lsapi_prefork_server_accept()
3284 && *s_busy_workers > (pServer->m_iMaxChildren >> 1)) in lsapi_prefork_server_accept()
3313 ++pServer->m_iCurChildren; in lsapi_prefork_server_accept()
3413 lsapi_prefork_server * pServer = g_prefork_server; in LSAPI_Accept_Before_Fork() local
3456 if (pServer->m_iServerMaxIdle) in LSAPI_Accept_Before_Fork()
3458 if (pServer->m_iCurChildren <= 0) in LSAPI_Accept_Before_Fork()
3461 if ( wait_secs > pServer->m_iServerMaxIdle ) in LSAPI_Accept_Before_Fork()
3476 FD_SET(pServer->m_fd, &readfds); in LSAPI_Accept_Before_Fork()
3479 ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout); in LSAPI_Accept_Before_Fork()
3486 if (pServer->m_iCurChildren > 0 in LSAPI_Accept_Before_Fork()
3507 if (pServer->m_iCurChildren >= in LSAPI_Accept_Before_Fork()
3508 pServer->m_iMaxChildren + pServer->m_iExtraChildren) in LSAPI_Accept_Before_Fork()
3512 pServer->m_iMaxChildren, pServer->m_iExtraChildren, in LSAPI_Accept_Before_Fork()
3513 pServer->m_iCurChildren, in LSAPI_Accept_Before_Fork()
3519 pReq->m_fd = lsapi_accept(pServer->m_fd); in LSAPI_Accept_Before_Fork()