Re: Proposed new TS API function: TSContScheduleOnEntirePool

2023-10-17 Thread Leif Hedstrom
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 wrote: > > tsapi::c::TSAction > tsapi::c::TSContScheduleEveryOnEntirePool(TSCont contp, TSHRTime every, > TSThreadPool tp); > > With this we can schedule a co

Proposed new TS API function: TSContScheduleOnEntirePool

2023-10-17 Thread Fei Deng
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 thre