summaryrefslogtreecommitdiff
path: root/sql/scheduler.h
diff options
context:
space:
mode:
authorMikael Ronström <mikael@dator9>2011-02-10 19:47:46 +0100
committerMikael Ronström <mikael@dator9>2011-02-10 19:47:46 +0100
commit503294a268893121b9bbccb6c48e5f57c246864e (patch)
treedb2657c567ea3f3c008db9d84d21ec8717cc22ce /sql/scheduler.h
parent1d6945a017aaea79cbd5657e7e2f9d5359af23a5 (diff)
downloadmariadb-git-503294a268893121b9bbccb6c48e5f57c246864e.tar.gz
Added setters to scheduler interface
Diffstat (limited to 'sql/scheduler.h')
-rw-r--r--sql/scheduler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h
index 31ba2ab464a..7cf54dec004 100644
--- a/sql/scheduler.h
+++ b/sql/scheduler.h
@@ -96,8 +96,10 @@ public:
~thd_scheduler();
};
-void *thd_get_scheduler(THD *thd);
+void *thd_get_scheduler_data(THD *thd);
+void thd_set_scheduler_data(THD *thd, void *data);
PSI_thread* thd_get_psi(THD *thd);
+void thd_set_psi(THD *thd, PSI_thread *psi);
extern scheduler_functions *thread_scheduler;