Commit 5f20777a50ed818cc7e89361a960cddd9abd7563

Ycros 2011-07-05T16:00:59

Merge branch 'cgminer' of git://github.com/ckolivas/cgminer into cgminer

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 1e22e74..6f7d435 100644
--- a/main.c
+++ b/main.c
@@ -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;