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. --- cpukit/rtems/src/semmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/semmp.c') diff --git a/cpukit/rtems/src/semmp.c b/cpukit/rtems/src/semmp.c index 3be9fafb5f..03ca51a228 100644 --- a/cpukit/rtems/src/semmp.c +++ b/cpukit/rtems/src/semmp.c @@ -187,7 +187,7 @@ void _Semaphore_MP_Process_packet ( case SEMAPHORE_MP_ANNOUNCE_CREATE: - ignored = _Objects_MP_Open( + ignored = _Objects_MP_Allocate_and_open( &_Semaphore_Information, the_packet->name, the_packet->Prefix.id, -- cgit v1.2.3