1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Properly initialise qd_lock mutex.

This commit is contained in:
Con Kolivas 2011-07-05 15:18:13 +10:00
parent f90e73af51
commit 13c57a5779

2
main.c
View File

@ -1518,6 +1518,8 @@ int main (int argc, char *argv[])
return 1;
if (unlikely(pthread_mutex_init(&hash_lock, NULL)))
return 1;
if (unlikely(pthread_mutex_init(&qd_lock, NULL)))
return 1;
if (unlikely(curl_global_init(CURL_GLOBAL_ALL)))
return 1;