Skip to content
Snippets Groups Projects
Commit fb97aadf authored by Guy Zana's avatar Guy Zana
Browse files

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.
parent 41360613
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment