rtems: Enable Thread local storage support
Change-Id: If2ecf440fda9270688be60273e57d4b765bbdec2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
6f03867d02
commit
efe1073e44
@ -119,6 +119,9 @@ enum { ThreadPriorityResetFlag = 0x80000000 };
|
|||||||
#if defined(Q_CC_XLC) || defined (Q_CC_SUN)
|
#if defined(Q_CC_XLC) || defined (Q_CC_SUN)
|
||||||
#define HAVE_TLS
|
#define HAVE_TLS
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(Q_OS_RTEMS)
|
||||||
|
#define HAVE_TLS
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_TLS
|
#ifdef HAVE_TLS
|
||||||
static __thread QThreadData *currentThreadData = 0;
|
static __thread QThreadData *currentThreadData = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user