You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by eben <zh...@gmail.com> on 2011/07/07 16:07:45 UTC
Why Cannot Sleep in NonBlockingServer
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.
Re: Why Cannot Sleep in NonBlockingServer
Posted by eben <zh...@gmail.com>.
Then I found the server will '''Never''' run to the next line of sleep.
eben <zhangyingneng <at> gmail.com> writes:
> Then I found the server will run to the next
> line of sleep.