ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_proc Struct Reference

Structure containing local process info. More...

#include <et_private.h>

Data Fields

et_proc_id num
 Unique index # of this process. More...
 
et_att_id att [ET_ATTACHMENTS_MAX]
 Array in which an element (indexed by the id# of an attachment owned by this process) gives the id# of the attachment and -1 otherwise. More...
 
int nattachments
 Number of attachments to an ET system in this process. More...
 
int status
 ET_PROC_OPEN if open or connected to ET system, or ET_PROC_CLOSED if closed/unconnected. More...
 
int et_status
 ET_PROC_ETDEAD if ET system is dead, or ET_PROC_ETOK if ET system is OK. More...
 
unsigned int heartbeat
 Heartbeat periodically incremented to tell ET system it's alive. More...
 
pid_t pid
 Unix process id. More...
 
pthread_t hbeat_thd_id
 Heartbeat pthread id . More...
 
pthread_t hmon_thd_id
 Heart monitor pthread id. More...
 

Detailed Description

Structure containing local process info.

Field Documentation

Array in which an element (indexed by the id# of an attachment owned by this process) gives the id# of the attachment and -1 otherwise.

Referenced by et_station_attach(), and et_station_detach().

int et_proc::et_status

ET_PROC_ETDEAD if ET system is dead, or ET_PROC_ETOK if ET system is OK.

pthread_t et_proc::hbeat_thd_id

Heartbeat pthread id .

unsigned int et_proc::heartbeat

Heartbeat periodically incremented to tell ET system it's alive.

pthread_t et_proc::hmon_thd_id

Heart monitor pthread id.

int et_proc::nattachments

Number of attachments to an ET system in this process.

Referenced by et_station_attach(), and et_station_detach().

et_proc_id et_proc::num

Unique index # of this process.

pid_t et_proc::pid

Unix process id.

int et_proc::status

ET_PROC_OPEN if open or connected to ET system, or ET_PROC_CLOSED if closed/unconnected.


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