Twitch SDK (Internal)
Classes | Namespaces | Typedefs | Functions
thread.h File Reference
#include "twitchsdk/core/types/coretypes.h"
#include "twitchsdk/core/types/errortypes.h"
#include <functional>
#include <memory>

Go to the source code of this file.

Classes

class  ttv::IThread
 
class  ttv::IThreadFactory
 
class  ttv::IThreadApi
 

Namespaces

 ttv
 JSON (JavaScript Object Notation).
 

Typedefs

typedef std::function< void()> ttv::ThreadProc
 

Functions

TTV_ErrorCode ttv::SetThreadFactory (std::shared_ptr< IThreadFactory > factory)
 
TTV_ErrorCode ttv::SetThreadApi (std::shared_ptr< IThreadApi > api)
 
void ttv::Sleep (uint64_t milliseconds)
 
TTV_ErrorCode ttv::CreateThread (ThreadProc threadProc, const std::string &name, std::shared_ptr< IThread > &result)