From 3abf4c09ce3ea173ac9840e97788ca4c477a8aa1 Mon Sep 17 00:00:00 2001 From: comex Date: Thu, 29 Jan 2015 01:21:15 -0500 Subject: port some old code --- lib/darwin/stop-other-threads.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/darwin') 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 #include -#include 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 -- cgit v1.2.3