summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:56:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-02 15:56:10 +0000
commit3f421dab807bd034a43432835f9d07184e1878ed (patch)
tree90cde1b0ffd41af2e088e033c38f7a74095f3b25 /cpukit/sapi
parentAdded CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES and (diff)
downloadrtems-3f421dab807bd034a43432835f9d07184e1878ed.tar.bz2
Added message queues and semaphores.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/src/posixapi.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c
index 481d640c0b..b06fa01a6f 100644
--- a/cpukit/sapi/src/posixapi.c
+++ b/cpukit/sapi/src/posixapi.c
@@ -27,16 +27,19 @@
#ifdef RTEMS_POSIX_API
#include <sys/types.h>
+#include <mqueue.h>
#include <rtems/config.h>
#include <rtems/score/object.h>
#include <rtems/posix/cond.h>
#include <rtems/posix/config.h>
#include <rtems/posix/key.h>
+#include <rtems/posix/mqueue.h>
#include <rtems/posix/mutex.h>
#include <rtems/posix/priority.h>
#include <rtems/posix/psignal.h>
#include <rtems/posix/pthread.h>
#include <rtems/posix/ptimer.h>
+#include <rtems/posix/semaphore.h>
#include <rtems/posix/time.h>
/*PAGE
@@ -92,6 +95,14 @@ void _POSIX_API_Initialize(
api_configuration->maximum_mutexes
);
+ _POSIX_Message_queue_Manager_initialization(
+ api_configuration->maximum_message_queues
+ );
+
+ _POSIX_Semaphore_Manager_initialization(
+ api_configuration->maximum_semaphores
+ );
+
_POSIX_Timer_Manager_initialization ( api_configuration->maximum_timers );
}