Add MessageQueue class

MessageQueue encapsulates a message queue built on top of a
pipe. The message queue needs a handler for receiving messages
and must be added to a worker for pumping messages through the
pipe.

Each Worker will have an instance of MessageQueue.
This commit is contained in:
Johan Wikman
2017-04-06 14:03:56 +03:00
parent d20c89be37
commit b8c78a23df
5 changed files with 427 additions and 15 deletions

View File

@ -18,6 +18,7 @@ add_library(maxscale-common SHARED
maxscale_pcre2.cc
misc.cc
mlist.cc
messagequeue.cc
modulecmd.cc
modutil.cc
monitor.cc