Classes | Defines | Typedefs | Enumerations | Functions
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 <blort/ThreadObject/MutexClass.h>
#include <blort/ThreadObject/EventClass.h>
Include dependency graph for Thread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CTask
class  CThread

Defines

#define DEFAULT_STACK_SIZE   0
#define EVENT_CREATION   0x02
#define FALSE   0
#define ILLEGAL_USE_OF_EVENT   0x10
#define MEMORY_FAULT   0x20
#define MUTEX_CREATION   0x01
#define NO_ERRORS   0
#define QUE_SIZE   100
#define THREAD_CREATION   0x04
#define TRUE   1
#define UNKNOWN   0x08

Typedefs

typedef unsigned char BOOL
typedef long DWORD
typedef void * LPVOID
typedef DWORD ThreadId_t

Enumerations

enum  TaskStatus_t { TaskStatusNotSubmitted, TaskStatusWaitingOnQueue, TaskStatusBeingProcessed, TaskStatusCompleted }
enum  ThreadState_t {
  ThreadStateBusy, ThreadStateWaiting, ThreadStateDown, ThreadStateShuttingDown,
  ThreadStateFault
}
enum  ThreadType_t { ThreadTypeEventDriven, ThreadTypeIntervalDriven }

Functions

void Sleep (unsigned int mseconds)

Define Documentation

#define DEFAULT_STACK_SIZE   0

Definition at line 75 of file Thread.h.

#define EVENT_CREATION   0x02

Definition at line 193 of file Thread.h.

#define FALSE   0

Definition at line 52 of file Thread.h.

#define ILLEGAL_USE_OF_EVENT   0x10

Definition at line 196 of file Thread.h.

#define MEMORY_FAULT   0x20

Definition at line 197 of file Thread.h.

#define MUTEX_CREATION   0x01

Definition at line 192 of file Thread.h.

#define NO_ERRORS   0

Definition at line 191 of file Thread.h.

#define QUE_SIZE   100

Definition at line 74 of file Thread.h.

#define THREAD_CREATION   0x04

Definition at line 194 of file Thread.h.

#define TRUE   1

Definition at line 49 of file Thread.h.

#define UNKNOWN   0x08

Definition at line 195 of file Thread.h.


Typedef Documentation

typedef unsigned char BOOL

Definition at line 47 of file Thread.h.

typedef long DWORD

Definition at line 54 of file Thread.h.

typedef void* LPVOID

Definition at line 55 of file Thread.h.

typedef DWORD ThreadId_t

Definition at line 68 of file Thread.h.


Enumeration Type Documentation

Enumerator:
TaskStatusNotSubmitted 
TaskStatusWaitingOnQueue 
TaskStatusBeingProcessed 
TaskStatusCompleted 

Definition at line 93 of file Thread.h.

Enumerator:
ThreadStateBusy 
ThreadStateWaiting 
ThreadStateDown 
ThreadStateShuttingDown 
ThreadStateFault 

Definition at line 80 of file Thread.h.

Enumerator:
ThreadTypeEventDriven 
ThreadTypeIntervalDriven 

Definition at line 89 of file Thread.h.


Function Documentation

void Sleep ( unsigned int  mseconds)

Definition at line 90 of file Thread.cpp.



blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26