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:
parent
b7a177532d
commit
d2cb012f5a
@ -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…
x
Reference in New Issue
Block a user