blob: 6140c9c506885daa2af51b1c56f44674ae21b8fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef THREAD_WINRT_H
#define THREAD_WINRT_H
#ifdef WINRT_ENABLED
#include "os/thread.h"
#include <thread>
class ThreadWinrt : public Thread {
std::thread thread;
static Thread* create_func_winrt(ThreadCreateCallback p_callback,void *,const Settings&);
static ID get_thread_ID_func_winrt();
static void wait_to_finish_func_winrt(Thread* p_thread);
ThreadWinrt();
public:
virtual ID get_ID() const;
static void make_default();
~ThreadWinrt();
};
#endif
#endif
|