diff options
author | monty@mysql.com <> | 2005-07-26 17:55:58 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-07-26 17:55:58 +0300 |
commit | 4098c40d87ac11fe5043061f16a95a455376a782 (patch) | |
tree | 91bfa7092c665b2c4842cc67bff19a328d434aa4 /include/thr_lock.h | |
parent | d9bacfa236ceaf1b91caf6197122ad01ad8bfe37 (diff) | |
download | mariadb-git-4098c40d87ac11fe5043061f16a95a455376a782.tar.gz |
Review fixes:
Fixed portability problem with bool in C programs
Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
my_sleep() -> pthread_cond_timedwait()
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 8caaa112605..1062a49472b 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); -bool thr_abort_locks_for_thread(THR_LOCK *lock, pthread_t thread); +my_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); |