summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadself.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-17 16:12:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-18 09:58:58 +0200
commit401f1b9d56c6c1ee98609c438966b0fb1b1cbc02 (patch)
tree579cd6cc2da28c429e39130875e6fec542c8438c /cpukit/posix/src/pthreadself.c
parentscore: Avoid direct usage of _Thread_Executing (diff)
downloadrtems-401f1b9d56c6c1ee98609c438966b0fb1b1cbc02.tar.bz2
rtems, posix: Use _Thread_Get_executing()
Diffstat (limited to 'cpukit/posix/src/pthreadself.c')
-rw-r--r--cpukit/posix/src/pthreadself.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadself.c b/cpukit/posix/src/pthreadself.c
index de6a40955b..f1b13d8f91 100644
--- a/cpukit/posix/src/pthreadself.c
+++ b/cpukit/posix/src/pthreadself.c
@@ -28,5 +28,5 @@
pthread_t pthread_self( void )
{
- return _Thread_Executing->Object.id;
+ return _Thread_Get_executing()->Object.id;
}