OpenMPI  0.1.1
deferred_cb Struct Reference

A deferred_cb is a callback that can be scheduled to run as part of an event_base's event_loop, rather than running immediately. More...

#include <defer-internal.h>

Public Member Functions

 TAILQ_ENTRY (deferred_cb) cb_next
 Links to the adjacent active (pending) deferred_cb objects. More...
 

Data Fields

unsigned queued: 1
 True iff this deferred_cb is pending in an event_base. More...
 
deferred_cb_fn cb
 The function to execute when the callback runs. More...
 
void * arg
 The function's second argument. More...
 

Detailed Description

A deferred_cb is a callback that can be scheduled to run as part of an event_base's event_loop, rather than running immediately.

Member Function Documentation

deferred_cb::TAILQ_ENTRY ( deferred_cb  )

Links to the adjacent active (pending) deferred_cb objects.

Field Documentation

void* deferred_cb::arg

The function's second argument.

deferred_cb_fn deferred_cb::cb

The function to execute when the callback runs.

unsigned deferred_cb::queued

True iff this deferred_cb is pending in an event_base.


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