Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ThreadLib Namespace Reference


Classes

class  ThreadLib::Exception
class  ThreadLib::DummyData

Typedefs

typedef void(* ThreadFunc )(void *)
typedef DWORD ThreadID

Enumerations

enum  Error { Unspecified, InitFailure, CreationFailure }

Functions

DWORD WINAPI DummyRun (void *p_data)
ThreadID Create (ThreadFunc p_func, void *p_param)
ThreadID GetID ()
void WaitForFinish (ThreadID p_thread)
void Kill (ThreadID &p_thread)
void YieldThread (int p_milliseconds=1)

Variables

std::map< DWORD, HANDLE > g_handlemap


Typedef Documentation

typedef void(* ThreadLib::ThreadFunc)(void *)
 

typedef DWORD ThreadLib::ThreadID
 


Enumeration Type Documentation

enum Error
 

Enumeration values:
Unspecified 
InitFailure 
CreationFailure 


Function Documentation

ThreadID Create ThreadFunc  p_func,
void *  p_param
[inline]
 

DWORD WINAPI ThreadLib::DummyRun void *  p_data  ) 
 

ThreadID GetID  )  [inline]
 

void Kill ThreadID p_thread  )  [inline]
 

void WaitForFinish ThreadID  p_thread  )  [inline]
 

void YieldThread int  p_milliseconds = 1  )  [inline]
 


Variable Documentation

std::map< DWORD, HANDLE > ThreadLib::g_handlemap
 

2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.