[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 10/18] jobs: rename static functions called with job_mutex
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v6 10/18] jobs: rename static functions called with job_mutex held |
Date: |
Thu, 9 Jun 2022 10:47:29 +0100 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v6 10/18] jobs: rename static functions called with job_mutex held,
Stefan Hajnoczi <=