Browse Source

Detach the thread once created so we don't have to explicitly try and join it.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
d2cb012f5a
  1. 1
      cpu-miner.c

1
cpu-miner.c

@ -499,6 +499,7 @@ static bool workio_submit_work(struct workio_cmd *wc) @@ -499,6 +499,7 @@ static bool workio_submit_work(struct workio_cmd *wc)
applog(LOG_ERR, "Failed to create submit_thread");
return false;
}
pthread_detach(thr);
return true;
}

Loading…
Cancel
Save