From 9809d6e08264525ea58839b98e6d90121b841196 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 30 Mar 2016 11:39:58 +0200 Subject: score: _Thread_queue_Flush() parameter changes Change _Thread_queue_Flush() into a macro that invokes _Thread_queue_Do_flush() with the parameter set defined by RTEMS_MULTIPROCESSING. For multiprocessing configurations add the object identifier to avoid direct use of the thread wait information. Use mp_ prefix for multiprocessing related parameters. Rename Thread_queue_Flush_callout to Thread_queue_MP_callout since this type will be re-used later for other operations as well. --- cpukit/rtems/src/semmp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/rtems/src/semmp.c') diff --git a/cpukit/rtems/src/semmp.c b/cpukit/rtems/src/semmp.c index 90432c1738..752831e59b 100644 --- a/cpukit/rtems/src/semmp.c +++ b/cpukit/rtems/src/semmp.c @@ -233,14 +233,15 @@ void _Semaphore_MP_Process_packet ( } void _Semaphore_MP_Send_object_was_deleted ( - Thread_Control *the_proxy + Thread_Control *the_proxy, + Objects_Id mp_id ) { the_proxy->receive_packet->return_code = RTEMS_OBJECT_WAS_DELETED; _Semaphore_MP_Send_response_packet( SEMAPHORE_MP_OBTAIN_RESPONSE, - the_proxy->Wait.id, + mp_id, the_proxy ); -- cgit v1.2.3