Skip to content

Commit

Permalink
Remove from the correct list
Browse files Browse the repository at this point in the history
Fixes #92

Signed-off-by: Simo Sorce <simo@redhat.com>
  • Loading branch information
simo5 committed Mar 11, 2024
1 parent aeaa802 commit a9f3b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gp_workers.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void gp_workers_free(struct gp_workers *w)
while (w->busy_list) {
/* pick threads one by one */
t = w->busy_list;
LIST_DEL(w->free_list, t);
LIST_DEL(w->busy_list, t);

/* wake up threads, then join them */
/* ======> COND_MUTEX */
Expand Down

0 comments on commit a9f3b00

Please sign in to comment.