mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Cleanup. singnal_owner() is able to handle the direct call itself.
This commit is contained in:
parent
1cf50cd531
commit
44be88ad53
@ -1005,20 +1005,8 @@ void LOCK_re_post(lock_ast_t ast,
|
|||||||
|
|
||||||
DEBUG_DELAY;
|
DEBUG_DELAY;
|
||||||
|
|
||||||
#ifdef USE_BLOCKING_THREAD
|
|
||||||
signal_owner((own*) SRQ_ABS_PTR(owner_offset), (SRQ_PTR) NULL);
|
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);
|
release(owner_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user