aboutsummaryrefslogtreecommitdiff
path: root/lib/darwin/stop-other-threads.c
diff options
context:
space:
mode:
authorcomex2015-01-29 01:21:15 -0500
committercomex2015-01-29 01:21:15 -0500
commit3abf4c09ce3ea173ac9840e97788ca4c477a8aa1 (patch)
treebcd129df9b384bc4bb646445e44d0f46aa4a8902 /lib/darwin/stop-other-threads.c
parent***yawn*** (diff)
downloadsubstitute-3abf4c09ce3ea173ac9840e97788ca4c477a8aa1.tar.gz
port some old code
Diffstat (limited to '')
-rw-r--r--lib/darwin/stop-other-threads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/darwin/stop-other-threads.c b/lib/darwin/stop-other-threads.c
index b35c04c..ee9e803 100644
--- a/lib/darwin/stop-other-threads.c
+++ b/lib/darwin/stop-other-threads.c
@@ -1,9 +1,9 @@
+#if 0
#include "substitute.h"
#include "substitute-internal.h"
#include "darwin/mach-decls.h"
#include <pthread.h>
#include <mach/mach.h>
-#include <CoreFoundation/CoreFoundation.h>
static void release_port(UNUSED CFAllocatorRef allocator, const void *value) {
mach_port_t thread = (mach_port_t) value;
@@ -159,3 +159,4 @@ int resume_other_threads(void *token) {
CFRelease(suspended_set);
return SUBSTITUTE_OK; /* eh */
}
+#endif