MXS_WORKER passed to poll_waitevents

This commit is contained in:
Johan Wikman
2017-02-16 13:00:44 +02:00
parent 016ed89b3e
commit ab37333ce5
4 changed files with 20 additions and 4 deletions

View File

@ -108,7 +108,7 @@ bool mxs_worker_post_message(MXS_WORKER *worker, int id, int64_t arg1, void* arg
void mxs_worker_main(MXS_WORKER* worker)
{
poll_waitevents((void*)(intptr_t)worker->id);
poll_waitevents(worker);
}
bool mxs_worker_start(MXS_WORKER* worker)