You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a socket.Recv(1000) with a slow or temporary unavaible server, the call is CPU intensive because on .net 3.5, the loop involves a Thread.Sleep(0). (On .net 4, replaced by a Thread.Yield)
I encountered the problem when doing fault tolerance test with a server going down intermittently.
Replacing with Thread.Sleep(1) solves the problem.
The text was updated successfully, but these errors were encountered:
When doing a socket.Recv(1000) with a slow or temporary unavaible server, the call is CPU intensive because on .net 3.5, the loop involves a Thread.Sleep(0). (On .net 4, replaced by a Thread.Yield)
I encountered the problem when doing fault tolerance test with a server going down intermittently.
Replacing with Thread.Sleep(1) solves the problem.
The text was updated successfully, but these errors were encountered: