Skip to content

Commit

Permalink
[sixel] need a broadcast to bring out all workers #2573
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Feb 5, 2022
1 parent dfb089e commit 1597aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sixel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ build_data_table(qstate* qs){
// FIXME need enqueue it
globsengine.qs = qs;
pthread_mutex_unlock(&globsengine.lock);
pthread_cond_signal(&globsengine.cond);
pthread_cond_broadcast(&globsengine.cond);
size_t tsize = RGBSIZE * smap->colors;
qs->table = malloc(tsize);
if(qs->table == NULL){
Expand Down

0 comments on commit 1597aef

Please sign in to comment.