Lines Matching refs:pServer
1800 static int lsapi_prefork_server_accept( lsapi_prefork_server * pServer, LSAPI_Request * pReq ) in lsapi_prefork_server_accept() argument
1847 if (pServer->m_iServerMaxIdle) { in lsapi_prefork_server_accept()
1848 if ( pServer->m_iCurChildren <= 0 ) { in lsapi_prefork_server_accept()
1850 if ( wait_secs > pServer->m_iServerMaxIdle ) { in lsapi_prefork_server_accept()
1859 if ( pServer->m_iCurChildren >= (pServer->m_iMaxChildren + pServer->m_iExtraChildren ) ) { in lsapi_prefork_server_accept()
1865 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
1867 if ((ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout)) == 1 ) { in lsapi_prefork_server_accept()
1868 if ( pServer->m_iCurChildren >= 0 ) { in lsapi_prefork_server_accept()
1871 FD_SET( pServer->m_fd, &readfds ); in lsapi_prefork_server_accept()
1873 if ( (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout) == 0 ) { in lsapi_prefork_server_accept()
1889 pReq->m_fd = lsapi_accept( pServer->m_fd ); in lsapi_prefork_server_accept()
1912 ++pServer->m_iCurChildren; in lsapi_prefork_server_accept()