From 9f10911d2b653859f7199eaed5a85a24803711dc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 22 Apr 2015 21:29:21 +0200 Subject: score: Delete Thread_queue_Control::state Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage. --- cpukit/score/src/corerwlockobtainwrite.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score/src/corerwlockobtainwrite.c') diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index ea7d25c0e3..3499bcd4c8 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -20,6 +20,7 @@ #include #include +#include #include void _CORE_RWLock_Obtain_for_writing( @@ -77,6 +78,7 @@ void _CORE_RWLock_Obtain_for_writing( _Thread_queue_Enqueue( &the_rwlock->Wait_queue, executing, + STATES_WAITING_FOR_RWLOCK, timeout ); -- cgit v1.2.3