mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
e3482ccf27
Created helper executable to print the value of online_cpus() allowing multi-threaded tests to be skipped when appropriate. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
8 lines
145 B
C
8 lines
145 B
C
#include "git-compat-util.h"
|
|
#include "thread-utils.h"
|
|
|
|
int cmd_main(int argc, const char **argv)
|
|
{
|
|
printf("%d\n", online_cpus());
|
|
return 0;
|
|
}
|