Changeset 3f421dab in rtems


Ignore:
Timestamp:
Nov 2, 1999, 3:56:10 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
af10d3ef
Parents:
be0fc099
Message:

Added message queues and semaphores.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/src/posixapi.c

    rbe0fc099 r3f421dab  
    2828
    2929#include <sys/types.h>
     30#include <mqueue.h>
    3031#include <rtems/config.h>
    3132#include <rtems/score/object.h>
     
    3334#include <rtems/posix/config.h>
    3435#include <rtems/posix/key.h>
     36#include <rtems/posix/mqueue.h>
    3537#include <rtems/posix/mutex.h>
    3638#include <rtems/posix/priority.h>
     
    3840#include <rtems/posix/pthread.h>
    3941#include <rtems/posix/ptimer.h>
     42#include <rtems/posix/semaphore.h>
    4043#include <rtems/posix/time.h>
    4144
     
    9396  );
    9497
     98  _POSIX_Message_queue_Manager_initialization(
     99    api_configuration->maximum_message_queues
     100  );
     101
     102  _POSIX_Semaphore_Manager_initialization(
     103    api_configuration->maximum_semaphores
     104  );
     105
    95106  _POSIX_Timer_Manager_initialization ( api_configuration->maximum_timers );
    96107}
  • cpukit/sapi/src/posixapi.c

    rbe0fc099 r3f421dab  
    2828
    2929#include <sys/types.h>
     30#include <mqueue.h>
    3031#include <rtems/config.h>
    3132#include <rtems/score/object.h>
     
    3334#include <rtems/posix/config.h>
    3435#include <rtems/posix/key.h>
     36#include <rtems/posix/mqueue.h>
    3537#include <rtems/posix/mutex.h>
    3638#include <rtems/posix/priority.h>
     
    3840#include <rtems/posix/pthread.h>
    3941#include <rtems/posix/ptimer.h>
     42#include <rtems/posix/semaphore.h>
    4043#include <rtems/posix/time.h>
    4144
     
    9396  );
    9497
     98  _POSIX_Message_queue_Manager_initialization(
     99    api_configuration->maximum_message_queues
     100  );
     101
     102  _POSIX_Semaphore_Manager_initialization(
     103    api_configuration->maximum_semaphores
     104  );
     105
    95106  _POSIX_Timer_Manager_initialization ( api_configuration->maximum_timers );
    96107}
Note: See TracChangeset for help on using the changeset viewer.