File: thread_helpers.h

package info (click to toggle)
libgit2 0.21.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 18,740 kB
  • ctags: 14,057
  • sloc: ansic: 127,946; sh: 191; python: 175; php: 65; makefile: 63
file content (8 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
#include "thread-utils.h"

void run_in_parallel(
	int repeats,
	int threads,
	void *(*func)(void *),
	void (*before_test)(void),
	void (*after_test)(void));