mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.5.4 patch
This commit is contained in:
@@ -2912,10 +2912,10 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
exit(1);
|
||||
}
|
||||
*/
|
||||
|
||||
if ( !check_cpu_capability() )
|
||||
exit(1);
|
||||
|
||||
*/
|
||||
if ( opt_algo == ALGO_NULL )
|
||||
{
|
||||
fprintf(stderr, "%s: no algo supplied\n", argv[0]);
|
||||
@@ -2963,6 +2963,9 @@ int main(int argc, char *argv[])
|
||||
if ( !register_algo_gate( opt_algo, &algo_gate ) )
|
||||
exit(1);
|
||||
|
||||
if ( !check_cpu_capability() )
|
||||
exit(1);
|
||||
|
||||
pthread_mutex_init(&stats_lock, NULL);
|
||||
pthread_mutex_init(&g_work_lock, NULL);
|
||||
pthread_mutex_init(&rpc2_job_lock, NULL);
|
||||
|
||||
Reference in New Issue
Block a user