Commit fe29baa010acdbb978cc6379de319a36f9247896

Authored by David René
1 parent 268c8c8e

uncomment commented line which was committed by error

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
anubis_dev/vm/src/anbexec.cpp
... ... @@ -1007,12 +1007,12 @@ void schedul(void)
1007 1007 }
1008 1008 #if defined (_LINUX_) || (__BEOS__)
1009 1009 //printf("Sleeping...\n"); fflush(stdout);
1010   - //if(select(FD_SETSIZE,&rfds,NULL,NULL,alarm_set ? (&time_to_wait) : NULL) < 0)
1011   - //{
  1010 + if(select(FD_SETSIZE,&rfds,NULL,NULL,alarm_set ? (&time_to_wait) : NULL) < 0)
  1011 + {
1012 1012 //LOGERROR("CRITICAL ERROR: Main VM select() failed with error [%d].\n", LAST_SOCKET_ERROR);
1013 1013 usleep(1000); // this will ensure that we won't take all the CPU time if a socket is
1014 1014 // invalid (bug encountered on 2007-08-15 by CR)
1015   - //}
  1015 + }
1016 1016 #else
1017 1017 // select(FD_SETSIZE,&rfds,NULL,NULL,alarm_set ? (&time_to_wait) : NULL);
1018 1018 Sleep(1);
... ...