summaryrefslogtreecommitdiff
path: root/include/thr_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/thr_lock.h')
-rw-r--r--include/thr_lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thr_lock.h b/include/thr_lock.h
index 1f4072ca0c5..32fe353bdb1 100644
--- a/include/thr_lock.h
+++ b/include/thr_lock.h
@@ -174,6 +174,8 @@ void thr_downgrade_write_lock(THR_LOCK_DATA *data,
enum thr_lock_type new_lock_type);
my_bool thr_reschedule_write_lock(THR_LOCK_DATA *data,
ulong lock_wait_timeout);
+void thr_set_lock_wait_callback(void (*before_wait)(void),
+ void (*after_wait)(void));
#ifdef __cplusplus
}
#endif