[DEV] add shared obj foir thread

This commit is contained in:
Edouard DUPIN 2017-02-09 21:23:20 +01:00
parent c8a47c2860
commit 23929b68a7

View File

@ -19,7 +19,7 @@ namespace gale {
/**
* @brief We have our own thread in gale to manage gale context folowing and manage android rong management of std::thread when calling java.
*/
class Thread {
class Thread : public ememory::EnableSharedFromThis<Thread> {
public:
/**
* @brief Internal state capabilities of the thread.