poll_waitevents moved to Worker

A direct move without any non-essential modifications. Poll_waitevents will
be turned into a regular methods using instance variables.
This commit is contained in:
Johan Wikman
2017-04-18 12:37:07 +03:00
parent 4ed615a6c1
commit effa2f5674
4 changed files with 234 additions and 184 deletions

View File

@ -162,4 +162,11 @@ bool poll_add_fd_to_worker(int wid, int fd, uint32_t events, MXS_POLL_DATA* data
*/
bool poll_remove_fd_from_worker(int wid, int fd);
/**
* Check whether there are cross-thread messages for current thread.
*
* @attention Only to be called by the system.
*/
void poll_check_message(void);
MXS_END_DECLS