aio.h (37fcee5d1154b7a03c13582e128bcc31ad43e954) aio.h (fbe3fc5cb3cd9f9064e98c549684e821c353fe41)
1/*
2 * QEMU aio implementation
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *

--- 110 unchanged lines hidden (view full) ---

119
120 /* Thread pool for performing work and receiving completion callbacks */
121 struct ThreadPool *thread_pool;
122
123 /* TimerLists for calling timers - one per clock type */
124 QEMUTimerListGroup tlg;
125
126 int external_disable_cnt;
1/*
2 * QEMU aio implementation
3 *
4 * Copyright IBM, Corp. 2008
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *

--- 110 unchanged lines hidden (view full) ---

119
120 /* Thread pool for performing work and receiving completion callbacks */
121 struct ThreadPool *thread_pool;
122
123 /* TimerLists for calling timers - one per clock type */
124 QEMUTimerListGroup tlg;
125
126 int external_disable_cnt;
127
128 /* epoll(7) state used when built with CONFIG_EPOLL */
129 int epollfd;
130 bool epoll_enabled;
131 bool epoll_available;
127};
128
129/**
130 * aio_context_new: Allocate a new AioContext.
131 *
132 * AioContext provide a mini event-loop that can be waited on synchronously.
133 * They also provide bottom halves, a service to execute a piece of code
134 * as soon as possible.

--- 306 unchanged lines hidden ---
132};
133
134/**
135 * aio_context_new: Allocate a new AioContext.
136 *
137 * AioContext provide a mini event-loop that can be waited on synchronously.
138 * They also provide bottom halves, a service to execute a piece of code
139 * as soon as possible.

--- 306 unchanged lines hidden ---