diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-22 15:20:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-23 12:54:03 +0200 |
commit | 07332ae4db821ad8a11b1eda6fbb5b453ef069ef (patch) | |
tree | 7397f3276cc6fb06170919854c91852bc0fb75b1 /cpukit/score/src/corerwlockobtainwrite.c | |
parent | Filesystem: Remove superfluous free() (diff) | |
download | rtems-07332ae4db821ad8a11b1eda6fbb5b453ef069ef.tar.bz2 |
score: _Thread_queue_Enqueue_with_handler()
Add thread parameter to _Thread_queue_Enqueue_with_handler() to avoid
access to global _Thread_Executing.
Diffstat (limited to 'cpukit/score/src/corerwlockobtainwrite.c')
-rw-r--r-- | cpukit/score/src/corerwlockobtainwrite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index e5f3e73029..54c41d91f3 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -76,6 +76,7 @@ void _CORE_RWLock_Obtain_for_writing( _Thread_queue_Enqueue_with_handler( &the_rwlock->Wait_queue, + executing, timeout, _CORE_RWLock_Timeout ); |