Thread Struct Reference


Data Fields

unsigned long uid
int marked
void * stackaddr
size_t stacksize
void * slots [NS_THREAD_MAXTLS]
ThreadnextPtr
Ns_Time ctime
int flags
Ns_ThreadProc * proc
void * arg
int tid
void * stackaddr
char name [NS_THREAD_NAMESIZE+1]
char parent [NS_THREAD_NAMESIZE+1]

Detailed Description

The following structure maintains all state for a thread including thread local storage slots.


Field Documentation

unsigned long Thread::uid

int Thread::marked

void* Thread::stackaddr

size_t Thread::stacksize

Thread stack address.

void* Thread::slots[NS_THREAD_MAXTLS]

struct Thread* Thread::nextPtr

Ns_Time Thread::ctime

Next in list of all threads.

int Thread::flags

Thread structure create time.

Ns_ThreadProc* Thread::proc

Detached, joined, etc.

void* Thread::arg

Thread startup routine.

int Thread::tid

Argument to startup proc.

void* Thread::stackaddr

Id set by thread for logging.

char Thread::name[NS_THREAD_NAMESIZE+1]

Thread stack size.

char Thread::parent[NS_THREAD_NAMESIZE+1]

Thread name.


The documentation for this struct was generated from the following files:
Generated on Tue Sep 4 19:58:58 2007 by  doxygen 1.5.1