Added setters to scheduler interface

This commit is contained in:
Mikael Ronström 2011-02-10 19:47:46 +01:00
commit 503294a268
2 changed files with 15 additions and 3 deletions

View file

@ -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;