Skip to content
Snippets Groups Projects
Commit a454a882 authored by rswindell's avatar rswindell
Browse files

Removed unnecessary YIELD after select-with-timeout.

parent 4d3c2b83
No related branches found
No related tags found
No related merge requests found
......@@ -1520,10 +1520,8 @@ void DLLCALL services_thread(void* arg)
tv.tv_sec=2;
tv.tv_usec=0;
if((result=select(high_socket+1,&socket_set,NULL,NULL,&tv))<1) {
if(result==0) {
YIELD();
if(result==0)
continue;
}
if(ERROR_VALUE==EINTR)
lprintf("0000 Services listening interrupted");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment