]> git.proxmox.com Git - libgit2.git/blobdiff - tests/libgit2/threads/thread_helpers.h
Merge https://salsa.debian.org/debian/libgit2 into proxmox/bullseye
[libgit2.git] / tests / libgit2 / threads / thread_helpers.h
diff --git a/tests/libgit2/threads/thread_helpers.h b/tests/libgit2/threads/thread_helpers.h
new file mode 100644 (file)
index 0000000..0f23a4c
--- /dev/null
@@ -0,0 +1,8 @@
+#include "thread.h"
+
+void run_in_parallel(
+       int repeats,
+       int threads,
+       void *(*func)(void *),
+       void (*before_test)(void),
+       void (*after_test)(void));