1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

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

This commit is contained in:
Con Kolivas 2011-06-25 10:07:29 +10:00
parent b7a177532d
commit d2cb012f5a

View File

@ -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;
}