Current code is to let all wthreads sleep non-exclusively in the wait
queue, so whenever a new command need to be handled, all wthread will be
waken up while only one will get the chance to run, others will go back
to sleep again. attached patch is to let wthread sleep exclusively so
new command will only wake up one thread at a time.
Log in to post a comment.