summaryrefslogtreecommitdiffstats
path: root/c/src/optman
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-28 15:30:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-08-28 15:30:29 +0000
commit7f6a24abdd1793e394e4d5d49de1f4ca0e00297a (patch)
treefbdb1ec31289dabb5bf41ed769d4b40ca8cf9a9a /c/src/optman
parentMoved _Thread_Information -> _RTEMS_tasks_Information. (diff)
downloadrtems-7f6a24abdd1793e394e4d5d49de1f4ca0e00297a.tar.bz2
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.
Diffstat (limited to 'c/src/optman')
-rw-r--r--c/src/optman/rtems/no-sem.c9
-rw-r--r--c/src/optman/rtems/no-signal.c4
2 files changed, 7 insertions, 6 deletions
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
)
{