C++ , NonBlockingServer(libevent2), ThreadManager 10 workers, I put 'Sleep(100)' in my Handler
Then I found the server will run to the next line of sleep. I know I should not use Sleep, But I also want to know why thrift strict us not to use it.
C++ , NonBlockingServer(libevent2), ThreadManager 10 workers, I put 'Sleep(100)' in my Handler
Then I found the server will run to the next line of sleep. I know I should not use Sleep, But I also want to know why thrift strict us not to use it.