summaryrefslogtreecommitdiff
path: root/sql/scheduler.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2021-02-14 18:30:39 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2021-02-14 18:30:39 +0100
commit4df0249b9acc2c79c450c3836ae60f3e9076ae6e (patch)
treed210a4c39cd85f0eda84f301eaa92d910252ca2c /sql/scheduler.h
parenta1542f8a57390bbad916ddfd335e1c751ffb3de5 (diff)
downloadmariadb-git-4df0249b9acc2c79c450c3836ae60f3e9076ae6e.tar.gz
MDEV-24341 Innodb - do not block in foreground thread in log_write_up_to(
Diffstat (limited to 'sql/scheduler.h')
-rw-r--r--sql/scheduler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h
index ebf8d6e9e64..68387390d81 100644
--- a/sql/scheduler.h
+++ b/sql/scheduler.h
@@ -40,6 +40,8 @@ struct scheduler_functions
void (*thd_wait_end)(THD *thd);
void (*post_kill_notification)(THD *thd);
void (*end)(void);
+ /** resume previous unfinished command (threadpool only)*/
+ void (*thd_resume)(THD* thd);
};