projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[4.0] Ubuntu Build Error fix
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
common
/
singleton-service-impl.cpp
diff --git
a/adaptors/common/singleton-service-impl.cpp
b/adaptors/common/singleton-service-impl.cpp
index
d975d94
..
5ee6180
100644
(file)
--- a/
adaptors/common/singleton-service-impl.cpp
+++ b/
adaptors/common/singleton-service-impl.cpp
@@
-48,10
+48,9
@@
namespace Internal
namespace Adaptor
{
namespace Adaptor
{
-// @todo Start using pthread_key_create if we want to avoid leaking the SingletonService on shutdown
namespace
{
namespace
{
-
__thread
SingletonService * gSingletonService = 0;
+
thread_local
SingletonService * gSingletonService = 0;
} // unnamed namespace
Dali::SingletonService SingletonService::New()
} // unnamed namespace
Dali::SingletonService SingletonService::New()