Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

rpmsqElem Struct Reference

SIGCHLD queue element. More...

#include <rpmsq.h>


Data Fields

rpmsqElemq_forw
rpmsqElemq_back
pid_t child
volatile pid_t reaped
volatile int status
rpmop_s op
rpmtime_t ms_scriptlets
int reaper
int pipes [2]
void * id
pthread_mutex_t mutex
pthread_cond_t cond


Detailed Description

SIGCHLD queue element.

Definition at line 36 of file rpmsq.h.


Field Documentation

pid_t rpmsqElem::child
 

Currently running child.

Definition at line 39 of file rpmsq.h.

Referenced by psmWait(), rpmsqAction(), rpmsqFork(), rpmsqInsert(), rpmsqRemove(), rpmsqWait(), rpmsqWaitUnregister(), and runScript().

pthread_cond_t rpmsqElem::cond
 

Definition at line 49 of file rpmsq.h.

Referenced by rpmsqAction(), rpmsqInsert(), rpmsqRemove(), and rpmsqWaitUnregister().

void* rpmsqElem::id
 

Blocking thread id (pthread_t).

Definition at line 47 of file rpmsq.h.

Referenced by rpmsqEnable(), rpmsqInsert(), and rpmsqRemove().

rpmtime_t rpmsqElem::ms_scriptlets
 

Accumulated script duration (msecs).

Definition at line 43 of file rpmsq.h.

Referenced by rpmsqWaitUnregister().

pthread_mutex_t rpmsqElem::mutex
 

Signal delivery to thread condvar.

Definition at line 48 of file rpmsq.h.

Referenced by rpmsqInsert(), rpmsqRemove(), and rpmsqWaitUnregister().

struct rpmop_s rpmsqElem::op
 

Scriptlet operation timestamp;

Definition at line 42 of file rpmsq.h.

Referenced by psmWait(), and rpmsqWaitUnregister().

int rpmsqElem::pipes[2]
 

Parent/child interlock.

Definition at line 45 of file rpmsq.h.

Referenced by rpmsqFork(), rpmsqInsert(), rpmsqRemove(), and rpmsqWaitUnregister().

struct rpmsqElem* rpmsqElem::q_back
 

Definition at line 38 of file rpmsq.h.

struct rpmsqElem* rpmsqElem::q_forw
 

for use by insque(3)/remque(3).

Definition at line 37 of file rpmsq.h.

Referenced by rpmsqAction().

volatile pid_t rpmsqElem::reaped
 

Reaped waitpid(3) return.

Definition at line 40 of file rpmsq.h.

Referenced by psmWait(), rpmsqAction(), rpmsqInsert(), rpmsqRemove(), rpmsqWait(), rpmsqWaitUnregister(), and runScript().

int rpmsqElem::reaper
 

Register SIGCHLD handler?

Definition at line 44 of file rpmsq.h.

Referenced by rpmsqFork(), rpmsqInsert(), rpmsqRemove(), rpmsqWait(), rpmsqWaitUnregister(), and runScript().

volatile int rpmsqElem::status
 

Reaped waitpid(3) status.

Definition at line 41 of file rpmsq.h.

Referenced by psmWait(), rpmsqAction(), rpmsqInsert(), rpmsqRemove(), rpmsqWait(), and runScript().


The documentation for this struct was generated from the following file:
Generated on Wed Mar 15 14:02:46 2006 for rpm by  doxygen 1.3.9.1