Lely core libraries 2.3.4
ev_promise Struct Reference

A promise. More...

Collaboration diagram for ev_promise:

Data Fields

atomic_size_t refcnt
 The number of references to this promise or its future. More...
 
ev_promise_dtor_tdtor
 The (destructor) function invoked when this struct is reclaimed.
 
struct ev_future future
 The future used to monitor if the promise has been satisfied.
 

Detailed Description

A promise.

Definition at line 95 of file future.c.

Field Documentation

◆ refcnt

atomic_size_t ev_promise::refcnt

The number of references to this promise or its future.

Once the reference count reaches zero, this struct is reclaimed.

Definition at line 107 of file future.c.


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