Wake up all the blocked threads when doing *_wake.