On Mon, Mar 14, 2022 at 09:36:59AM -0400, Emanuele Giuseppe Esposito wrote: > @@ -530,20 +540,24 @@ void job_enter(Job *job) > job_enter_cond(job, NULL); > } > > -/* Yield, and schedule a timer to reenter the coroutine after @ns > nanoseconds. > +/* > + * Yield, and schedule a timer to reenter the coroutine after @ns > nanoseconds. > * Reentering the job coroutine with job_enter() before the timer has expired > * is allowed and cancels the timer. > * > * If @ns is (uint64_t) -1, no timer is scheduled and job_enter() must be > - * called explicitly. */ > -static void coroutine_fn job_do_yield(Job *job, uint64_t ns) > + * called explicitly. > + * > + * Called with job_mutex held, but releases it temporarly.
s/temporarly/temporarily/
signature.asc
Description: PGP signature