summaryrefslogtreecommitdiff
path: root/include/gc_pthread_redirects.h
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 17:28:12 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 17:28:12 +0400
commit111a44f98adde07d205c92656ad9b935ca2a39a8 (patch)
tree8a0cb4e60f636fd09dd0d2e1a3a7f3a4ac0a1bb0 /include/gc_pthread_redirects.h
parentf3632431e72d48bc7772b0752e29bb1e2a0901c6 (diff)
downloadbdwgc-111a44f98adde07d205c92656ad9b935ca2a39a8.tar.gz
gc6.2 tarball importgc6_2
Diffstat (limited to 'include/gc_pthread_redirects.h')
-rw-r--r--include/gc_pthread_redirects.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gc_pthread_redirects.h b/include/gc_pthread_redirects.h
index 47284fbc..99a3e8da 100644
--- a/include/gc_pthread_redirects.h
+++ b/include/gc_pthread_redirects.h
@@ -52,15 +52,21 @@
int GC_pthread_create(pthread_t *new_thread,
const pthread_attr_t *attr,
void *(*start_routine)(void *), void *arg);
+#ifndef GC_DARWIN_THREADS
int GC_pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
+#endif
int GC_pthread_join(pthread_t thread, void **retval);
int GC_pthread_detach(pthread_t thread);
# define pthread_create GC_pthread_create
+#ifndef GC_DARWIN_THREADS
# define pthread_sigmask GC_pthread_sigmask
+#endif
# define pthread_join GC_pthread_join
# define pthread_detach GC_pthread_detach
+#ifndef GC_DARWIN_THREADS
# define dlopen GC_dlopen
+#endif
#endif /* GC_xxxxx_THREADS */