implement generic Netlib main loop for non-PC platforms

git-svn-id: svn://10.0.0.236/trunk@19318 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
1999-02-02 07:58:39 +00:00
parent 5d76377adf
commit 3f8f8174e9

View File

@@ -311,7 +311,12 @@ void nsNetlibThread::NetlibMainLoop(void)
#else
void nsNetlibThread::NetlibMainLoop()
{
PR_ASSERT(0);
while (mIsNetlibThreadRunning) {
if (NET_IsCallNetlibAllTheTimeSet(NULL, NULL))
NET_ProcessNet(NULL, NET_EVERYTIME_TYPE);
else
NET_PollSockets();
}
}
#endif /* ! XP_PC */