MXS-2002 Worker::execute() renamed to Worker::call()
In preparation for Worker::post() to be renamed to Worker:execute(). The concept of _posting_ will be reserved to mean the transfer of something over the message queue to the worker for processing and nothing else.
This commit is contained in:
@ -516,7 +516,7 @@ bool Worker::post(GenericFunction func, Semaphore* pSem, execute_mode_t mode)
|
||||
return rval;
|
||||
}
|
||||
|
||||
bool Worker::execute(GenericFunction func, execute_mode_t mode)
|
||||
bool Worker::call(GenericFunction func, execute_mode_t mode)
|
||||
{
|
||||
Semaphore sem;
|
||||
return post(func, &sem, mode) && sem.wait();
|
||||
|
Reference in New Issue
Block a user