summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-10-15 06:12:42 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:55 +0200
commit48d5ef0413159edce9fc01f2506c7ca2ed89bb81 (patch)
tree502ba53f52ffe21c166c27a7e306445ddb08b79e /pthread_support.c
parent86c10c72afc6ac0750915749b9edd1dc519eea0d (diff)
2010-10-14 Ivan Maidanski <ivmai@mail.ru>
* darwin_stop_world.c (GC_stack_range_for): New static function (move the code from GC_push_all_stacks). * darwin_stop_world.c (GC_push_all_stacks): Call GC_stack_range_for(); rename kern_return local variable to kern_result. * darwin_stop_world.c (GC_is_mach_marker): Change argument type from mach_port_t to thread_act_t. * pthread_support.c (GC_is_mach_marker): Ditto.
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c
index c28afc8..1a2bdfb 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -325,7 +325,7 @@ static ptr_t marker_sp[MAX_MARKERS - 1] = {0};
static mach_port_t marker_mach_threads[MAX_MARKERS - 1] = {0};
/* Used only by GC_suspend_thread_list(). */
- GC_INNER GC_bool GC_is_mach_marker(mach_port_t thread)
+ GC_INNER GC_bool GC_is_mach_marker(thread_act_t thread)
{
int i;
for (i = 0; i < GC_markers - 1; i++) {