mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
![Jeff Hostetler](/assets/img/avatar_default.png)
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>
9 lines
145 B
C
9 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;
|
|
}
|