KomodiaInfraLib

This library is the core multithreading infrastructure of the entire library.

 

It's built using design patterns so porting to other platform will be easy, and without using #ifdef all over the code.

 

Classes

 

CArray_ptr

Acts as std::auto_ptr but for arrays.

CCriticalAutoRelease

Uses as std::auto_ptr but for critical section, see code semantics.

CCriticalSectionForProtection

Allows a class to share its critical section.

CErrorHandler

Main class for error handling, see code semantics.

CFileLog

Implementation of a simple file log.

CGenericCriticalSection

Abstract class of a critical section.

CGenericEvent

Abstract class of an event.

CGenericMutex

Abstract class of a mutex.

CGenericReadWriteLock

Abstract class of a read write lock.

CGenericSemaphore

Abstract class of a semaphore.

CGenericThread

Abstract class of a thread.

CLibConfig

Class that keeps the instance of the application. (for win9x only)

CManagedThread

Wrapper of a thread class that synchronizes the creation and destruction of the thread.

CMutexAutoRelease

Uses as std::auto_ptr but for mutex, see code semantics.

COSManager

Creates the appropriate class according to the OS.

CPeriodicThread

Wrapper of a thread class that activates the thread for each constant time period.

CRWAutoRelease

Uses as std::auto_ptr but for read write lock, see code semantics.

CScreenLog

Implementation of a simple screen log.

CSocketThreadManager

Core class that manages the sockets thread engine.

CThreadPool

Class that implements a thread pool.

CTraceLog

implementation of a simple trace log.

CWaitableObject

Acts as a virtual class for common synchronizing objects.

CWaitableObjectAutoRelease

Uses as std::auto_ptr but for all waitable objects, see code semantics.

CWaitList

Wraps WaitForMultipleEvents.

CWin32CriticalSection

Win32 implementation of a critical section.

CWin32Event

Win32 implementation of an event.

CWin32Mutex

Win32 implementation of a mutex.

CWin32ReadWriteLock

Win32 implementation of a read write lock.

CWin32Semaphore

Win32 implementation of a semaphore.

CWin32Thread

Win32 implementation of a thread.