Skip to content

Commit

Permalink
Add missing pthread_cond_signal().
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeyssac committed Sep 1, 2024
1 parent 4f62e8f commit 6b4841a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caster/jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ static void _joblist_append_generic(struct joblist *this, struct ntrip_state *st
STAILQ_INSERT_TAIL(&this->append_jobq, j, next);
this->append_njobs++;
P_MUTEX_UNLOCK(&this->append_mutex);
if (pthread_cond_signal(&this->condjob) != 0)
caster_log_error(this->caster, "pthread_cond_signal");
return;
}

Expand Down

0 comments on commit 6b4841a

Please sign in to comment.