From 44be88ad53c8f0d4018a98b01490e29141c2b492 Mon Sep 17 00:00:00 2001 From: dimitr Date: Thu, 31 Jan 2008 13:39:30 +0000 Subject: [PATCH] Cleanup. singnal_owner() is able to handle the direct call itself. --- src/lock/lock.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/lock/lock.cpp b/src/lock/lock.cpp index 2799f45e2d..a78a1c34f2 100644 --- a/src/lock/lock.cpp +++ b/src/lock/lock.cpp @@ -1005,20 +1005,8 @@ void LOCK_re_post(lock_ast_t ast, DEBUG_DELAY; -#ifdef USE_BLOCKING_THREAD signal_owner((own*) SRQ_ABS_PTR(owner_offset), (SRQ_PTR) NULL); -#else -/* The deadlock detection looks at the OWN_signaled bit to decide - * whether processes have things to look at - as we're putting - * a repost item on the blocking queue, we DO have additional work - * to do, so set the flag to indicate so. - */ - owner->own_flags &= ~OWN_signal; - owner->own_ast_flags |= OWN_signaled; - DEBUG_DELAY; - blocking_action(owner_offset, (SRQ_PTR) NULL); - DEBUG_DELAY; -#endif + release(owner_offset); }