Added support for Event creation in worker thread
[platform/framework/native/appfw.git] / src / base / runtime / FBaseRt_ThreadImpl.h
index 6667f76..999fd4a 100644 (file)
@@ -72,6 +72,7 @@ public:
 
        static _ThreadImpl* GetCurrentThreadImpl(void);
 
+       static _ThreadImpl* GetMainThreadImpl(void);
 protected:
        virtual result Initialize(void);
 
@@ -84,6 +85,7 @@ protected:
        void SetThread(Thread* pThread);
 
        void SetNativeThread(pthread_t nativeThread);
+       void SetMainThread(void);
 
 private:
        static void* ThreadProc(void* pParam);
@@ -99,6 +101,7 @@ private:
        pthread_t __nativeThread;
        int __exitCode;
        _EventManager* __pEventManager;
+       static Thread* __pDefaultThread;
 }; // _ThreadImpl
 
 } } } // Tizen::Base::Runtime