MXS-2363 Enable the serial execution of function objects
Make it possible to run function objects serially on all routing workers. Sometimes that is exactly what you want.
This commit is contained in:
@ -388,6 +388,7 @@ public:
|
||||
* otherwise the task is delivered via the message loop.
|
||||
*/
|
||||
static size_t execute_serially(Task& task);
|
||||
static size_t execute_serially(std::function<void()> func);
|
||||
|
||||
/**
|
||||
* Executes a task on all workers concurrently and waits until all workers
|
||||
|
||||
Reference in New Issue
Block a user