From 07332ae4db821ad8a11b1eda6fbb5b453ef069ef Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 22 Aug 2013 15:20:06 +0200 Subject: score: _Thread_queue_Enqueue_with_handler() Add thread parameter to _Thread_queue_Enqueue_with_handler() to avoid access to global _Thread_Executing. --- cpukit/score/src/corerwlockobtainwrite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/score/src/corerwlockobtainwrite.c') 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 ); -- cgit v1.2.3