diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 20:07:33 +0200 |
---|---|---|
committer | Carlos MartÃn Nieto <cmn@dwim.me> | 2016-10-01 17:40:40 +0200 |
commit | bb582f073c7f8356f79b767dc70755a900e54dcd (patch) | |
tree | 158f5676aa3e1acd7c7d17de13f36d94f19c9f8c /src/unix/pthread.h | |
parent | 5d03db81469b871065baecdee2965e2e9d708724 (diff) | |
download | libgit2-bb582f073c7f8356f79b767dc70755a900e54dcd.tar.gz |
threads: add platform-independent thread initialization function
Diffstat (limited to 'src/unix/pthread.h')
-rw-r--r-- | src/unix/pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/pthread.h b/src/unix/pthread.h index 773ce22f9..0f3f17927 100644 --- a/src/unix/pthread.h +++ b/src/unix/pthread.h @@ -12,6 +12,7 @@ typedef struct { pthread_t thread; } git_thread; +#define git_threads_init() (void)0 #define git_thread_create(git_thread_ptr, start_routine, arg) \ pthread_create(&(git_thread_ptr)->thread, NULL, start_routine, arg) #define git_thread_join(git_thread_ptr, status) \ |