From 32e658a410d27363ef68e31c50976d4b3d88d93f Mon Sep 17 00:00:00 2001 From: Salikh Zakirov Date: Wed, 7 Feb 2007 14:55:32 +0300 Subject: [PATCH] wait_safe_region_event: removed incorrect early return condition --- vm/thread/src/thread_native_suspend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vm/thread/src/thread_native_suspend.c b/vm/thread/src/thread_native_suspend.c index 9256d9f..b01b808 100644 --- a/vm/thread/src/thread_native_suspend.c +++ b/vm/thread/src/thread_native_suspend.c @@ -216,7 +216,7 @@ static void send_suspend_request(hythread_t thread) { // blocked in case was selfsuspended. static IDATA wait_safe_region_event(hythread_t thread) { assert(thread->suspend_request >= 1); - if(thread->suspend_request > 1 || thread == tm_self_tls) { + if(thread == tm_self_tls) { TRACE(("TM: suspend wait self exit thread: %p request count: %d",thread , thread->suspend_request)); return TM_ERROR_NONE; } -- 1.4.4.4.g05d6b