summaryrefslogtreecommitdiff
path: root/src/thread-utils.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-06-20 17:20:13 +0200
committerPatrick Steinhardt <ps@pks.im>2016-06-20 19:49:34 +0200
commit139bffa074c7a74af92ee9c97d1e876acfc8dcd3 (patch)
treee034fef2f7eb708cbc7503d447e4664b27026012 /src/thread-utils.h
parent20d078dff166592b853f186096148c9b32262454 (diff)
downloadlibgit2-139bffa074c7a74af92ee9c97d1e876acfc8dcd3.tar.gz
threads: split up OS-dependent thread-condition code
Diffstat (limited to 'src/thread-utils.h')
-rw-r--r--src/thread-utils.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/thread-utils.h b/src/thread-utils.h
index 5073c2a8b..1eb51de25 100644
--- a/src/thread-utils.h
+++ b/src/thread-utils.h
@@ -46,13 +46,6 @@ typedef git_atomic git_atomic_ssize;
# include "unix/pthread.h"
#endif
-/* Pthreads condition vars */
-#define git_cond pthread_cond_t
-#define git_cond_init(c) pthread_cond_init(c, NULL)
-#define git_cond_free(c) pthread_cond_destroy(c)
-#define git_cond_wait(c, l) pthread_cond_wait(c, l)
-#define git_cond_signal(c) pthread_cond_signal(c)
-
/* Pthread (-ish) rwlock
*
* This differs from normal pthreads rwlocks in two ways: