All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
UnityThreadService.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IThreadService.h"
6 #include "UnityCallbacks.h"
7 
8 namespace Eegeo
9 {
10  namespace Unity
11  {
13  {
14  public:
15  UnityThreadService(const ThreadServiceCallbacks& threadServiceCallbacks);
16 
17  Concurrency::IThreadService::ThreadID CreateThread(Concurrency::IThreadService::ThreadFunc func, void* userData);
18 
19  void JoinThread(Concurrency::IThreadService::ThreadID threadID);
20 
21  private:
22  const ThreadServiceCallbacks& m_threadServiceCallbacks;
23  };
24  }
25 }
26