I assume “every” can be zero for a one time shot on every thread of the 
specified type?

— Leif 

> On Oct 17, 2023, at 07:26, Fei Deng <f...@yahooinc.com.invalid> wrote:
> 
> tsapi::c::TSAction
> tsapi::c::TSContScheduleEveryOnEntirePool(TSCont contp, TSHRTime every,
> TSThreadPool tp);
> 
> With this we can schedule a continuation on all the threads of a certain
> type, e.g. ET_NET, ET_TASK, etc.
> 
> Currently we have a similar capability internally, but only when spawning
> new thread pools
> 
> Event *EventProcessor::schedule_spawn();
> 
> We probably should also implement a TSContScheduleEvery variant along with
> it.
> 
> --
> Regards,
> Fei Deng

Reply via email to