thread_helpers.h 157 Bytes
Newer Older
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));