From f5d6c8b58daf82637bbcf7edb374f65227661a0c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 27 Apr 2015 16:25:52 +0200 Subject: score: Delete Thread_queue_Control::timeout_status Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage. --- cpukit/score/src/coremutex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/score/src/coremutex.c') diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c index b5e8a5ed4b..2f584f2abf 100644 --- a/cpukit/score/src/coremutex.c +++ b/cpukit/score/src/coremutex.c @@ -83,8 +83,7 @@ CORE_mutex_Status _CORE_mutex_Initialize( _Thread_queue_Initialize( &the_mutex->Wait_queue, _CORE_mutex_Is_fifo( the_mutex_attributes ) ? - THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY, - CORE_MUTEX_TIMEOUT + THREAD_QUEUE_DISCIPLINE_FIFO : THREAD_QUEUE_DISCIPLINE_PRIORITY ); return CORE_MUTEX_STATUS_SUCCESSFUL; -- cgit v1.2.3