From 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Aug 1995 15:30:29 +0000 Subject: Added unused priority ceiling parameter to rtems_semaphore_create. Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core. --- c/src/optman/rtems/no-sem.c | 9 +++++---- c/src/optman/rtems/no-signal.c | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'c/src/optman') diff --git a/c/src/optman/rtems/no-sem.c b/c/src/optman/rtems/no-sem.c index 52f64c0aa5..d96b1693e2 100644 --- a/c/src/optman/rtems/no-sem.c +++ b/c/src/optman/rtems/no-sem.c @@ -31,10 +31,11 @@ void _Semaphore_Manager_initialization( } rtems_status_code rtems_semaphore_create( - rtems_name name, - unsigned32 count, - rtems_attribute attribute_set, - Objects_Id *id + rtems_name name, + unsigned32 count, + rtems_attribute attribute_set, + rtems_task_priority priority_ceiling, + Objects_Id *id ) { return( RTEMS_NOT_CONFIGURED ); diff --git a/c/src/optman/rtems/no-signal.c b/c/src/optman/rtems/no-signal.c index 50f941887c..fedbf87db3 100644 --- a/c/src/optman/rtems/no-signal.c +++ b/c/src/optman/rtems/no-signal.c @@ -22,14 +22,14 @@ rtems_status_code rtems_signal_catch( rtems_asr_entry handler, - rtems_mode mode_set + rtems_mode mode_set ) { return( RTEMS_NOT_CONFIGURED ); } rtems_status_code rtems_signal_send( - Objects_Id id, + rtems_id id, rtems_signal_set signal_set ) { -- cgit v1.2.3