Skip to content
Snippets Groups Projects
  1. Jan 21, 2022
    • Florian Fischer's avatar
      [PipeSleepStrategy] implement notifySpecific · 1aadf7fe
      Florian Fischer authored
      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.
      1aadf7fe
  2. Oct 13, 2021
Loading