25#ifndef SFML_THREADWIN32_HPP
26#define SFML_THREADWIN32_HPP
31#include <SFML/System/NonCopyable.hpp>
48 typedef void (*FuncType)(
void*);
57 Thread(FuncType Function,
void* UserData = NULL);
110 static unsigned int __stdcall ThreadFunc(
void* UserData);
void Launch()
Create and run the thread.
Thread(FuncType Function, void *UserData=NULL)
Construct the thread from a function pointer.
void Terminate()
Terminate the thread Terminating a thread with this function is not safe, you should rather try to ma...
void Wait()
Wait until the thread finishes.
NonCopyable()
The default constructor won't be generated, so provide it.