Cogs.Foundation
Loading...
Searching...
No Matches
Functions
Cogs::Threads Namespace Reference

Functions

COGSFOUNDATION_API void setName (Thread &thread, const std::string &name)
 
COGSFOUNDATION_API void sleep (int milliseconds)
 
COGSFOUNDATION_API void yield ()
 
COGSFOUNDATION_API size_t hardwareConcurrency ()
 

Function Documentation

◆ hardwareConcurrency()

size_t Cogs::Threads::hardwareConcurrency ( )

◆ setName()

void Cogs::Threads::setName ( Thread thread,
const std::string &  name 
)

◆ sleep()

void Cogs::Threads::sleep ( int  milliseconds)

◆ yield()

void Cogs::Threads::yield ( )