From 932ff72f70db6259fc1e0316b51cab7e2b4ac0d1 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 22 Jun 2011 23:35:23 +1000 Subject: [PATCH] The gpuminer thread uses very little cpu and needs to keep the gpu busy with as few delays as possible. Don't nice it. --- cpu-miner.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpu-miner.c b/cpu-miner.c index ff428d57..5cd41db6 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -798,8 +798,6 @@ static void *gpuminer_thread(void *userdata) uint32_t res[128], blank_res[128]; cl_kernel *kernel; - setpriority(PRIO_PROCESS, 0, 19); - memset(blank_res, 0, BUFFERSIZE); size_t globalThreads[1];