Content-type: text/html Manpage of RTTask

RTTask

Section: Chronolytix (3)
Updated: 2005-07-07
Index Return to Main Contents
 

NAME

RTTask - Chronolytix Task Class  

SYNOPSYS

#include <RTTask.h>

RTEventQueue RTTask_Constructor(char *name, pthread_attr_t *ap, void *(*start_routine)(void *), void *arg);

void RTTask_Exit(void *retval);

char * RTTask_TaskName();

RTEventQueue RTTask_EventQueue();

void RTTask_Log_Task();

 

DESCRIPTION

RTTask is the Chronolytix class for encapulating POSIX pthread tasks. Each RTTask has a mapped pthread. The Constructor uses the pthread_attr_t just as would a pthread_create(3p), but allows the Chronolytix system to bind an RTEventQueue and control startup/shutdown of the pthread. exits the pthread and frees all the storage associated with the RTTask. Storage associated with thread-private storage, etc. will be handled as for any other pthread upon exit.

The TaskName and EventQueue methods return the associated per-task name and RTEventQueue, respectively. The RTTask_Log_Task method dumps the current task table to RTLog.

RTTask is a core Chronolytix function.  

MAGIC

RTTask "Task"  

SEE ALSO

pthread_create(3p) RTLog(Chronolytix), RTReactiveResponse(Chronolytix)


 

Index

NAME
SYNOPSYS
DESCRIPTION
MAGIC
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:28:40 GMT, August 25, 2005