/home/gomez/Documents/workspaces/treqs/treqs/src/ThreadObject/Thread.h File Reference
#include <stdio.h>
#include <malloc.h>
#include <memory.h>
#include <pthread.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include "MutexClass.h"
#include "EventClass.h"
Go to the source code of this file.
Define Documentation
#define DEFAULT_STACK_SIZE 0 |
#define EVENT_CREATION 0x02 |
#define ILLEGAL_USE_OF_EVENT 0x10 |
#define MEMORY_FAULT 0x20 |
#define MUTEX_CREATION 0x01 |
#define THREAD_CREATION 0x04 |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
TaskStatusNotSubmitted |
|
TaskStatusWaitingOnQueue |
|
TaskStatusBeingProcessed |
|
TaskStatusCompleted |
|
- Enumerator:
ThreadStateBusy |
|
ThreadStateWaiting |
|
ThreadStateDown |
|
ThreadStateShuttingDown |
|
ThreadStateFault |
|
- Enumerator:
ThreadTypeEventDriven |
|
ThreadTypeIntervalDriven |
|
Function Documentation
void Sleep |
( |
unsigned int |
mseconds |
) |
|