DAOS API
(v2.1 - dev)
Loading...
Searching...
No Matches
daos_event.h
1
26
#ifndef __DAOS_EVENT_H__
27
#define __DAOS_EVENT_H__
28
29
#if defined(__cplusplus)
30
extern
"C"
{
31
#endif
32
33
#include <daos_types.h>
34
#include <daos_errno.h>
35
47
int
48
daos_eq_create(
daos_handle_t
*eqh);
49
50
#define DAOS_EQ_DESTROY_FORCE 1
60
int
61
daos_eq_destroy(
daos_handle_t
eqh,
int
flags);
62
80
int
81
daos_eq_poll(
daos_handle_t
eqh,
int
wait_running,
82
int64_t timeout,
unsigned
int
nevents,
daos_event_t
**events);
83
104
int
105
daos_eq_query(
daos_handle_t
eqh, daos_eq_query_t query,
106
unsigned
int
nevents,
daos_event_t
**events);
107
129
int
130
daos_event_init(
daos_event_t
*ev,
daos_handle_t
eqh,
daos_event_t
*parent);
131
147
int
148
daos_event_fini(
daos_event_t
*ev);
149
160
daos_event_t
*
161
daos_event_next(
daos_event_t
*parent,
daos_event_t
*child);
162
181
int
182
daos_event_test(
struct
daos_event
*ev, int64_t timeout,
bool
*flag);
183
184
typedef
int (*daos_event_comp_cb_t)(
void
*,
daos_event_t
*, int);
185
198
int
199
daos_event_register_comp_cb(
struct
daos_event
*ev, daos_event_comp_cb_t cb,
200
void
*arg);
201
222
int
223
daos_event_parent_barrier(
struct
daos_event
*ev);
224
236
int
237
daos_event_abort(
daos_event_t
*ev);
238
239
#if defined(__cplusplus)
240
}
241
#endif
242
243
#endif
/* __DAOS_EVENT_H__ */
daos_event
Definition
daos_types.h:158
daos_handle_t
Definition
daos_types.h:75
src
include
daos_event.h
Generated by
1.12.0