Configure: enable check for libkqueue (linux emulation)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: preparing event handlers & basic epoll

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: initialize global event states table

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: wrappers for event_add and event_dell

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: rename calls and add timeout handler

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: workaround for events abstraction

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: header fixes

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: fix builder

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: fix compiler warnings

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Config: remove unused param when calling listeners free

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: wrap backend context on a 'loop_t' data type

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Server: prepare worker loop

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Server: worker loop handle events

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: add signal channel support

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Scheduler: use new event loop interface

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Epoll: it was a pleasure, but you have been deprecated.

This patch removes mk_epoll.[ch] from sources as the new mk_event.c
handler with mk_event_epoll.c backend is in place.

Now the core is totally broken as all other interfaces needs to be
adjusted to the new Events mechanism.

Now the fun begins :)

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
CI: disable Travis CI for this branch

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Scheduler: use new Event interface

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Core: remove deprecated calls based on old epoll_ API

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Plugin: export new Event core API to plugins

Signed-off-by: Eduardo Silva <eduardo@monkey.io>