diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-17 16:12:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 09:58:58 +0200 |
commit | 401f1b9d56c6c1ee98609c438966b0fb1b1cbc02 (patch) | |
tree | 579cd6cc2da28c429e39130875e6fec542c8438c /cpukit/posix/src/pthreadself.c | |
parent | score: Avoid direct usage of _Thread_Executing (diff) | |
download | rtems-401f1b9d56c6c1ee98609c438966b0fb1b1cbc02.tar.bz2 |
rtems, posix: Use _Thread_Get_executing()
Diffstat (limited to 'cpukit/posix/src/pthreadself.c')
-rw-r--r-- | cpukit/posix/src/pthreadself.c | 2 |
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; } |