Stefan Hajnoczi 71973b0461 dataplane: add event loop
Outside the safety of the global mutex we need to poll on file
descriptors.  I found epoll(2) is a convenient way to do that, although
other options could replace this module in the future (such as an
AioContext-based loop or glib's GMainLoop).

One important feature of this small event loop implementation is that
the loop can be terminated in a thread-safe way.  This allows QEMU to
stop the data plane thread cleanly.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-02 15:56:21 +01:00
..
2013-01-02 15:56:21 +01:00
2012-12-17 13:02:17 +02:00
2012-12-19 08:31:30 +01:00
2012-11-01 19:49:45 +01:00
2012-10-23 08:58:25 -05:00
2012-06-21 16:06:11 +00:00
2012-12-17 13:02:26 +02:00
2012-10-30 07:45:10 +00:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:29 +01:00
2012-03-14 22:20:26 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-10-10 11:13:32 +10:00
2012-10-10 11:13:32 +10:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:30 +01:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:32:39 +01:00
2012-06-18 15:14:38 +02:00
2012-11-26 14:25:42 -06:00
2012-12-17 13:02:26 +02:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-17 13:02:26 +02:00
2012-10-10 11:13:31 +10:00
2012-10-23 08:58:25 -05:00
2012-11-12 16:42:56 +01:00
2012-12-19 08:31:29 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-11-10 13:49:20 +00:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-14 13:12:56 +01:00
2012-07-27 21:13:01 +00:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2012-12-17 13:02:26 +02:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-30 07:45:08 +00:00
2012-10-30 07:45:09 +00:00
2012-12-19 08:31:30 +01:00
2012-12-04 13:52:43 +01:00
2012-12-04 13:52:43 +01:00
2012-10-23 08:58:25 -05:00
2012-04-12 11:14:29 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:32:39 +01:00
2012-10-22 13:26:42 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-10-10 11:13:32 +10:00
2012-10-10 11:13:32 +10:00
2012-12-19 08:31:29 +01:00
2012-11-10 13:49:20 +00:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:29 +01:00
2012-12-17 13:02:26 +02:00
2012-12-19 08:31:29 +01:00
2012-12-19 08:31:31 +01:00
2012-10-23 08:58:25 -05:00