RTEMS
coresem.c
Go to the documentation of this file.
1 
8 /*
9  * COPYRIGHT (c) 1989-1999.
10  * On-Line Applications Research Corporation (OAR).
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE.
15  */
16 
17 #ifdef HAVE_CONFIG_H
18 #include "config.h"
19 #endif
20 
22 
24  CORE_semaphore_Control *the_semaphore,
25  uint32_t initial_value
26 )
27 {
28  the_semaphore->count = initial_value;
29 
31 }
void _CORE_semaphore_Initialize(CORE_semaphore_Control *the_semaphore, uint32_t initial_value)
Initializes the semaphore based on the parameters passed.
Definition: coresem.c:23
void _Thread_queue_Object_initialize(Thread_queue_Control *the_thread_queue)
Initializes a thread queue embedded in an object with identifier.
Definition: threadq.c:148
Inlined Routines Associated with the SuperCore Semaphore.
Thread_queue_Control Wait_queue
Definition: coresem.h:52