Lely core libraries  2.2.5
ev_future Struct Reference

A future. More...

Collaboration diagram for ev_future:

Data Fields

atomic_int state
 The state of the future. More...
 
void * value
 The value of the future, set by ev_promise_set_release().
 
struct sllist queue
 The queue of tasks submitted by ev_future_submit() waiting for the future to become ready.
 

Detailed Description

A future.

Definition at line 63 of file future.c.

Field Documentation

◆ state

atomic_int ev_future::state

The state of the future.

Since futures are single-shot events, the state can be set only once.

Definition at line 73 of file future.c.


The documentation for this struct was generated from the following file: