Add MessageQueue to Worker

The Worker no longer creates a pipe and implements the cross
worker/thread message mechanism itself. Instead it has a
MessageQueue instance variable for that purpose.
This commit is contained in:
Johan Wikman
2017-04-06 14:30:22 +03:00
parent b8c78a23df
commit 052975bccd
3 changed files with 46 additions and 133 deletions

View File

@ -20,7 +20,6 @@ MXS_BEGIN_DECLS
typedef struct mxs_worker
{
MXS_POLL_DATA m_poll; /*< The poll data used by the polling mechanism. */
} MXS_WORKER;
enum mxs_worker_msg_id