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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user