diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 15:10:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:17:00 +0200 |
commit | e266d134ebf6f7b7722fffe23c3b4ad142001452 (patch) | |
tree | 7e43e93706be3da460331353b87e58cbb6a9833c /cpukit/posix/src/cancel.c | |
parent | 582bb23c74b0617c60d7986afa756c90c28df739 (diff) |
Replace *_Get_interrupt_disable() with *_Get()
Uniformly use *_Get() to get an object by identifier with a lock
context.
Diffstat (limited to 'cpukit/posix/src/cancel.c')
-rw-r--r-- | cpukit/posix/src/cancel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c index 9519c45e52..04088ae201 100644 --- a/cpukit/posix/src/cancel.c +++ b/cpukit/posix/src/cancel.c @@ -45,7 +45,7 @@ int pthread_cancel( pthread_t thread ) return EPROTO; } - the_thread = _Thread_Get_interrupt_disable( thread, &lock_context ); + the_thread = _Thread_Get( thread, &lock_context ); if ( the_thread == NULL ) { return ESRCH; |