$search
#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>
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 | 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) |
typedef DWORD ThreadId_t |
enum TaskStatus_t |
enum ThreadState_t |
enum ThreadType_t |
void Sleep | ( | unsigned int | mseconds | ) |
Definition at line 90 of file Thread.cpp.