From 2d23c691f731d4bd52a3d8247edb673613209cac Mon Sep 17 00:00:00 2001 From: "mronstrom@mysql.com" <> Date: Tue, 19 Jul 2005 00:29:19 +0200 Subject: Bug #10600 remove_table_from_cache fails to signal other thread and gets blocked when other thread also gets blocked --- include/thr_lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/thr_lock.h') diff --git a/include/thr_lock.h b/include/thr_lock.h index f1bda0ce6b4..8caaa112605 100644 --- a/include/thr_lock.h +++ b/include/thr_lock.h @@ -107,7 +107,7 @@ void thr_unlock(THR_LOCK_DATA *data); int thr_multi_lock(THR_LOCK_DATA **data,uint count); void thr_multi_unlock(THR_LOCK_DATA **data,uint count); void thr_abort_locks(THR_LOCK *lock); -void thr_abort_locks_for_thread(THR_LOCK *lock, pthread_t thread); +bool thr_abort_locks_for_thread(THR_LOCK *lock, pthread_t thread); void thr_print_locks(void); /* For debugging */ my_bool thr_upgrade_write_delay_lock(THR_LOCK_DATA *data); my_bool thr_reschedule_write_lock(THR_LOCK_DATA *data); -- cgit v1.2.1