callouts: perform wake() outside of lock.
given the scheduler state, wake() sometimes rescheduled the dispatcher thread immidiately, and then it blocked on the mutex that is still held by the caller of _callout_stop_safe_locked(). this patch does wake() outside of the lock to eliminated these spurious context switches.
Loading
Please register or sign in to comment