blob: a2623ee940121774a01914629e9276240f829345 (
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
36
37
38
39
40
41
|
#ifndef __ASURA_THREAD_STD_H__
#define __ASURA_THREAD_STD_H__
#include "../utils_config.h"
#if ASURA_THREAD_STD
#include <windows.h>
#include "thread.h"
namespace_begin(AsuraEngine)
namespace_begin(Threading)
///
/// Threadstd::threadʵ֡
///
class ThreadImplSTD : public ThreadImpl
{
public:
ThreadImplSTD();
~ThreadImplSTD();
bool Start(Threadable* thread, uint32 stacksize) override;
void Join() override;
void Kill() override;
bool IsRunning() override;
bool IsCurrent() override;
private:
};
namespace_end
namespace_end
#endif // #if ASURA_THREAD_STD
#endif // __ASURA_THREAD_STD_H__
|