A lot of the complexity of NagMQ is in setting up separate worker threads for the state/command interfaces, and then ensuring thread-safety back to the event loop. This branch is to experiment with running everything in the main Nagios thread, and see if performance is severely impacted.
Fixes to make this rewrite actually work.
Adding zmq 3 compatability.
More ZeroMQ 3.x compatibility changes.
Typo in zmq 2->3 upgrade.
Upgrading the message broker to zmq 3.x
Additional ZMQ 3.x fixes.
- Some zmq_getsockopt parameter types have changed to 'int'.
- Switch order of msg and socket in zmq_msg_recv/zmq_msg_send calls.
- Check for -1 in return values from zmq functions.
- ZMQ_HWM & ZMQ_SWAP are only valid in ZMQ 2.
Remove unused variables.
Merge pull request #7 from selsky/nothreads

Additional ZMQ 3.x compatibility fixes.
Fixed a compile warning in the MQ broker.
Run the command/state poll inside the Nagios sleeps instead of at beginnings of timed events.
The timeval/timespec macros aren't available everywhere. This expands them and slightly simplifies the code.
Adding additional ZeroMQ 3.x options to mqbroker.
Working nothreads - but still high latency.
NagMQ v1.3 RC1
Bugfixes. Removing pthread dependency. Adding startup delay to publisher startup - a lazy solution to lazy connections.
Making the automation of output hashing a little easier.
Switching from json_unpack to get_values for cleaner interface into json parser.
Move init/teardown to before/after event loop.

Initializing NagMQ can incur some latency (especially if you sleep
for slow joiners in the publisher). Moving initialiation to before
the event loop timing is setup will prevent this latency from
effecting check timing.
Add json parse routines to git.