MXS-2002 Rename Worker::post() to Worker::execute()

The main point is that tasks/functions are executed, not that
they are posted.
This commit is contained in:
Johan Wikman
2018-08-09 15:10:31 +03:00
parent 3013adb14f
commit e9758ebaf1
8 changed files with 30 additions and 31 deletions

View File

@ -1280,7 +1280,7 @@ HttpResponse resource_handle_request(const HttpRequest& request)
mxs::Semaphore sem;
ResourceTask task(request);
worker->post(&task, &sem, mxs::Worker::EXECUTE_AUTO);
worker->execute(&task, &sem, mxs::Worker::EXECUTE_AUTO);
sem.wait();
return task.result();