GOG GALAXY SDK Documentation
IGalaxyThread Class Referenceabstract

The interface representing a thread object. More...

#include <GalaxyThread.h>

Public Member Functions

virtual void Join ()=0
 Join the thread. More...
 
virtual bool Joinable ()=0
 Checks if the IGalaxyThread is ready to Join(). More...
 
virtual void Detach ()=0
 Detach the thread. More...
 

Detailed Description

The interface representing a thread object.

Member Function Documentation

◆ Detach()

virtual void Detach ( )
pure virtual

Detach the thread.

Separate the thread of execution from the IGalaxyThread object, allowing execution to continue independently.

◆ Join()

virtual void Join ( )
pure virtual

Join the thread.

Wait until IGalaxyThread execution is finished. Internal callers of this function are blocked until the function returns.

◆ Joinable()

virtual bool Joinable ( )
pure virtual

Checks if the IGalaxyThread is ready to Join().

Returns
true if the thread is ready to Join().