mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-01-09 19:17:19 -03:00
consistently print ammount of threads used
This commit is contained in:
parent
37a1506b18
commit
eafa834b5e
1 changed files with 3 additions and 3 deletions
6
main.c
6
main.c
|
@ -668,10 +668,10 @@ int main(int argc,char **argv)
|
|||
numthreads = cpucount();
|
||||
if (numthreads <= 0)
|
||||
numthreads = 1;
|
||||
if (!quietflag)
|
||||
fprintf(stderr,"using %d %s\n",
|
||||
numthreads,numthreads == 1 ? "thread" : "threads");
|
||||
}
|
||||
if (!quietflag)
|
||||
fprintf(stderr,"using %d %s\n",
|
||||
numthreads,numthreads == 1 ? "thread" : "threads");
|
||||
|
||||
signal(SIGTERM,termhandler);
|
||||
signal(SIGINT,termhandler);
|
||||
|
|
Loading…
Reference in a new issue