Skip to content
Snippets Groups Projects
Commit 1aadf7fe authored by Florian Fischer's avatar Florian Fischer
Browse files

[PipeSleepStrategy] implement notifySpecific

Implement notifySpecific by using a worker exclusive thread local
sleepState and pipe.
The sleepState previously waitInflight is no longer a member of IoContext
a thread_local PipeSleepStrategy::SleepState is used instead.
It is safe to use a thread_local object because onNewWorkNotification
is only called by the Owner of the sleepState.
Since others (ANYWHERE, EMPER) must not reap newWorkNotifications from
a workers CQ.

Update the algorithm documentation and other code comments.
parent 8cb084c9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment