Browse Source

Set cs->ckp in setup_servers

master
Con Kolivas 9 years ago
parent
commit
debeccf08c
  1. 1
      src/generator.c

1
src/generator.c

@ -2836,6 +2836,7 @@ static void setup_servers(ckpool_t *ckp)
si->notify = ckp->btcdnotify[i]; si->notify = ckp->btcdnotify[i];
si->id = i; si->id = i;
cs = &si->cs; cs = &si->cs;
cs->ckp = ckp;
cksem_init(&cs->sem); cksem_init(&cs->sem);
cksem_post(&cs->sem); cksem_post(&cs->sem);
} }

Loading…
Cancel
Save