#4 wake up wthread one per time

open
nobody
None
5
2007-02-19
2007-02-19
Ming Zhang
No

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.

Discussion

  • Ming Zhang
    Ming Zhang
    2007-02-19

     
    Attachments