Lely core libraries 2.3.4
strand.h
Go to the documentation of this file.
1
31#ifndef LELY_EV_STRAND_H_
32#define LELY_EV_STRAND_H_
33
34#include <lely/ev/ev.h>
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40void *ev_strand_alloc(void);
41void ev_strand_free(void *ptr);
42ev_exec_t *ev_strand_init(ev_exec_t *exec, ev_exec_t *inner_exec);
43void ev_strand_fini(ev_exec_t *exec);
44
54
57
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif // !LELY_EV_STRAND_H_
This is the public header file of the event library.
const struct ev_exec_vtbl *const ev_exec_t
An abstract task executor.
Definition: ev.h:29
void ev_strand_destroy(ev_exec_t *exec)
Destroys a strand executor.
Definition: strand.c:180
ev_exec_t * ev_strand_get_inner_exec(const ev_exec_t *exec)
Returns a pointer to the inner executor of a strand.
Definition: strand.c:189
ev_exec_t * ev_strand_create(ev_exec_t *inner_exec)
Creates a strand executor.
Definition: strand.c:153