Spinning Topp Logo BlackTopp Studios
inc
Classes | Namespaces | Macros | Functions
thread.h File Reference

This file defines a minimalistic cross-platform thread that the scheduler uses to schedule tasks. More...

#include "systemcalls.h"
#include "mutex.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  Mezzanine::Threading::Thread
 A small wrapper around the system thread. More...
 
class  Mezzanine::Threading::ThreadId
 The thread ID is a unique identifier for each thread. More...
 

Namespaces

 Mezzanine
 The bulk of the engine components go in this namspace.
 
 Mezzanine::Threading
 This is where game specific threading algorithms and a minimalistic subset of the std threading library a held.
 
 Mezzanine::Threading::this_thread
 A partial implementation of std::thread::this_thread.
 

Macros

#define WINAPI   __stdcall
 Used to force the aclling convention of a function to match the way windows does it.
 

Functions

ThreadId MEZZ_LIB Mezzanine::Threading::this_thread::get_id ()
 Return the thread ID of the calling thread. More...
 
void MEZZ_LIB Mezzanine::Threading::this_thread::sleep_for (UInt32 MicroSeconds)
 Blocks the calling thread for a period of time. More...
 
void MEZZ_LIB Mezzanine::Threading::this_thread::yield ()
 Yield execution to another thread. More...
 

Detailed Description

This file defines a minimalistic cross-platform thread that the scheduler uses to schedule tasks.

Definition in file thread.h.