diff options
| author | Russell Belfer <rb@github.com> | 2014-04-10 22:31:01 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2014-04-17 14:56:41 -0700 |
| commit | 7d4908724fd7d4d8e096b4faf2c652ba5b77644e (patch) | |
| tree | 2fcd09e7e040607c124f6e658c31f33e1aa1868a /tests/threads/thread_helpers.h | |
| parent | 1fa17b5c92cb92a2785fba403b87525169b205c0 (diff) | |
| download | libgit2-7d4908724fd7d4d8e096b4faf2c652ba5b77644e.tar.gz | |
Attribute file cache refactor
This is a big refactoring of the attribute file cache to be a bit
simpler which in turn makes it easier to enforce a lock around any
updates to the cache so that it can be used in a threaded env.
Tons of changes to the attributes and ignores code.
Diffstat (limited to 'tests/threads/thread_helpers.h')
| -rw-r--r-- | tests/threads/thread_helpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/threads/thread_helpers.h b/tests/threads/thread_helpers.h new file mode 100644 index 000000000..3c13cfb6b --- /dev/null +++ b/tests/threads/thread_helpers.h @@ -0,0 +1,8 @@ +#include "thread-utils.h" + +void run_in_parallel( + int repeats, + int threads, + void *(*func)(void *), + void (*before_test)(void), + void (*after_test)(void)); |
