From 3ab4f29a225c4a06135645754777d999a73faa71 Mon Sep 17 00:00:00 2001 From: Salikh Zakirov Date: Mon, 20 Nov 2006 12:26:01 +0300 Subject: reset_thread(): reset safepoint_callback to NULL too. This is needed because users of safepoint_callback always expect it either to be equal to NULL or to become NULL soon. --- vm/thread/src/thread_native_basic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/vm/thread/src/thread_native_basic.c b/vm/thread/src/thread_native_basic.c index 468ab92..b365b92 100644 --- a/vm/thread/src/thread_native_basic.c +++ b/vm/thread/src/thread_native_basic.c @@ -674,6 +674,7 @@ static void reset_thread(hythread_t thre // Suspension thread->suspend_request = 0; thread->suspend_disable_count = 0; + thread->safepoint_callback = NULL; status = hylatch_set(thread->join_event, 1); assert (status == TM_ERROR_NONE); status = hylatch_set(thread->safe_region_event, 1); -- 1.4.3.GIT