Gorgon Game Engine
Threading.h File Reference

contains threading functions. More...

Include dependency graph for Threading.h:

Go to the source code of this file.

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Threading
 Contains multi-threading functions and objects.
 

Functions

void RunAsync (std::function< void()> fn)
 Executes a function asynchronously. More...
 
void RunInParallel (std::function< void(int, int)> fn, unsigned threads=0)
 Runs a function specified amount of times in parallel. More...
 

Detailed Description

contains threading functions.