summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/Threads/ThreadImplStd.h
blob: 452f569cb959ccf9caa39e308f8f0bd33afa7897 (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 "../UtilsConfig.h"

#if ASURA_THREAD_STD

#include <windows.h>

#include "Thread.h"

namespace_begin(AsuraEngine)
namespace_begin(Threads)

///
/// 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_