thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eben <zhangyingn...@gmail.com>
Subject Why Cannot Sleep in NonBlockingServer
Date Thu, 07 Jul 2011 14:07:45 GMT
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.


Mime
View raw message