diff options
author | mronstrom@mysql.com <> | 2005-07-19 00:29:19 +0200 |
---|---|---|
committer | mronstrom@mysql.com <> | 2005-07-19 00:29:19 +0200 |
commit | 2d23c691f731d4bd52a3d8247edb673613209cac (patch) | |
tree | 8cac93afd968960ab2b0e70bf1d21eaefadecd79 /include/thr_lock.h | |
parent | 0d7a2641b5c05a2e90ca04bb1002be1c7d63ab69 (diff) | |
download | mariadb-git-2d23c691f731d4bd52a3d8247edb673613209cac.tar.gz |
Bug #10600
remove_table_from_cache fails to signal other thread and gets
blocked when other thread also gets blocked
Diffstat (limited to 'include/thr_lock.h')
-rw-r--r-- | include/thr_lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |