mirror of
https://github.com/git/git.git
synced 2024-11-01 06:47:52 +01: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;
|
|
}
|