OpenMPI  0.1.1
deferred_cb_queue Struct Reference

A deferred_cb_queue is a list of deferred_cb that we can add to and run. More...

#include <defer-internal.h>

Public Member Functions

 TAILQ_HEAD (deferred_cb_list, deferred_cb) deferred_cb_list
 Deferred callback management: a list of deferred callbacks to run active the active events. More...
 

Data Fields

void * lock
 Lock used to protect the queue. More...
 
int active_count
 How many entries are in the queue?
 
void(* notify_fn )(struct deferred_cb_queue *, void *)
 Function called when adding to the queue from another thread. More...
 
void * notify_arg
 

Detailed Description

A deferred_cb_queue is a list of deferred_cb that we can add to and run.

Member Function Documentation

deferred_cb_queue::TAILQ_HEAD ( deferred_cb_list  ,
deferred_cb   
)

Deferred callback management: a list of deferred callbacks to run active the active events.

Field Documentation

void* deferred_cb_queue::lock

Lock used to protect the queue.

Referenced by event_base_new_with_config().

void(* deferred_cb_queue::notify_fn)(struct deferred_cb_queue *, void *)

Function called when adding to the queue from another thread.

Referenced by event_base_new_with_config().


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