On Mon, Mar 14, 2022 at 09:37:00AM -0400, Emanuele Giuseppe Esposito wrote: > /** > - * Release a reference that was previously acquired with job_ref() or > + * Release a reference that was previously acquired with job_ref_locked() or > * job_create(). If it's the last reference to the object, it will be freed. > + * > + * Called between job_lock and job_unlock, but might release it temporarly. > */ > -void job_unref(Job *job); > +void job_unref_locked(Job *job); > > /** > * @job: The job that has made progress > @@ -421,8 +427,10 @@ void job_progress_increase_remaining(Job *job, uint64_t > delta); > * Conditionally enter the job coroutine if the job is ready to run, not > * already busy and fn() returns true. fn() is called while under the > job_lock > * critical section. > + * > + * Called between job_lock and job_unlock, but might release it temporarly.
s/temporarly/temporarily/
signature.asc
Description: PGP signature