Thread.h File Reference

Thread creation and management. More...

#include "Types.h"
#include "Locks.h"
#include <list>

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.

Namespaces

namespace  MPMA

Classes

union  MPMA::ThreadParam
 A user-defined parameter passed to the thread procedure. More...
class  MPMA::Thread
 Represents a thread. More...
class  MPMA::ThreadPool
 A pool of pre-created threads. More...

Typedefs

typedef void(* MPMA::ThreadFunc )(class Thread &, ThreadParam)
 A callback function for the thread's procedure. This function should monitor the IsEnding() method of the provided Thread class, and terminate if it ever returns true.

Functions

void MPMA::Sleep (uint time)
 Causes the current thread to block for at least time (in milliseconds). 0 just forces a yield.


Detailed Description

Thread creation and management.


Generated on Sat Aug 9 15:05:06 2008 for MPMA Framework by  doxygen 1.5.6