Changeset 6a3a81c in rtems


Ignore:
Timestamp:
May 17, 2002, 5:59:21 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1b074a1
Parents:
11f894cc
Message:

2001-05-17 Joel Sherrill <joel@…>

  • macros/rtems/posix/mqueue.inl: Implemented missing routines to support message queue FDs.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    r11f894cc r6a3a81c  
     12001-05-17      Joel Sherrill <joel@OARcorp.com>
     2
     3        * macros/rtems/posix/mqueue.inl: Implemented missing routines
     4        to support message queue FDs.
     5
    162002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>       
    27
  • c/src/exec/posix/macros/rtems/posix/mqueue.inl

    r11f894cc r6a3a81c  
    1717#define __RTEMS_POSIX_MESSAGE_QUEUE_inl
    1818 
    19 /*PAGE
    20  *
     19/*
    2120 *  _POSIX_Message_queue_Allocate
    2221 */
     
    2524  (POSIX_Message_queue_Control *) \
    2625    _Objects_Allocate( &_POSIX_Message_queue_Information )
     26
     27/*
     28 *  _POSIX_Message_queue_Allocate_fd
     29 */
    2730 
    28 /*PAGE
    29  *
     31#define _POSIX_Message_queue_Allocate_fd() \
     32  (POSIX_Message_queue_Control_fd *) \
     33    _Objects_Allocate( &_POSIX_Message_queue_Information_fds )
     34 
     35/*
    3036 *  _POSIX_Message_queue_Free
    3137 */
     
    3440  _Objects_Free( &_POSIX_Message_queue_Information, &(_the_mq)->Object )
    3541
    36 /*PAGE
    37  *
     42/*
     43 *  _POSIX_Message_queue_Free_fd
     44 */
     45 
     46#define _POSIX_Message_queue_Free_fd( _the_mq_fd ) \
     47  _Objects_Free( &_POSIX_Message_queue_Information_fds, &(_the_mq_fd)->Object )
     48
     49/*
    3850 *  _POSIX_Message_queue_Namespace_remove
    3951 */
     
    4355    &_POSIX_Message_queue_Information, &(_the_mq)->Object )
    4456 
    45 /*PAGE
    46  *
     57/*
    4758 *  _POSIX_Message_queue_Get
    4859 */
     
    5263    _Objects_Get( &_POSIX_Message_queue_Information, (_id), (_location) )
    5364 
    54 /*PAGE
     65/*
     66 *  _POSIX_Message_queue_Get_fd
     67 */
     68 
     69#define _POSIX_Message_queue_Get_fd( _id, _location ) \
     70  (POSIX_Message_queue_Control_fd *) \
     71    _Objects_Get( &_POSIX_Message_queue_Information_fds, (_id), (_location) )
     72 
     73/*
    5574 *
    5675 *  _POSIX_Message_queue_Is_null
     
    6079  (!(_the_mq))
    6180
    62 /*PAGE
     81/*
    6382 *
    6483 *  _POSIX_Message_queue_Priority_to_core
  • cpukit/posix/ChangeLog

    r11f894cc r6a3a81c  
     12001-05-17      Joel Sherrill <joel@OARcorp.com>
     2
     3        * macros/rtems/posix/mqueue.inl: Implemented missing routines
     4        to support message queue FDs.
     5
    162002-05-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>       
    27
  • cpukit/posix/macros/rtems/posix/mqueue.inl

    r11f894cc r6a3a81c  
    1717#define __RTEMS_POSIX_MESSAGE_QUEUE_inl
    1818 
    19 /*PAGE
    20  *
     19/*
    2120 *  _POSIX_Message_queue_Allocate
    2221 */
     
    2524  (POSIX_Message_queue_Control *) \
    2625    _Objects_Allocate( &_POSIX_Message_queue_Information )
     26
     27/*
     28 *  _POSIX_Message_queue_Allocate_fd
     29 */
    2730 
    28 /*PAGE
    29  *
     31#define _POSIX_Message_queue_Allocate_fd() \
     32  (POSIX_Message_queue_Control_fd *) \
     33    _Objects_Allocate( &_POSIX_Message_queue_Information_fds )
     34 
     35/*
    3036 *  _POSIX_Message_queue_Free
    3137 */
     
    3440  _Objects_Free( &_POSIX_Message_queue_Information, &(_the_mq)->Object )
    3541
    36 /*PAGE
    37  *
     42/*
     43 *  _POSIX_Message_queue_Free_fd
     44 */
     45 
     46#define _POSIX_Message_queue_Free_fd( _the_mq_fd ) \
     47  _Objects_Free( &_POSIX_Message_queue_Information_fds, &(_the_mq_fd)->Object )
     48
     49/*
    3850 *  _POSIX_Message_queue_Namespace_remove
    3951 */
     
    4355    &_POSIX_Message_queue_Information, &(_the_mq)->Object )
    4456 
    45 /*PAGE
    46  *
     57/*
    4758 *  _POSIX_Message_queue_Get
    4859 */
     
    5263    _Objects_Get( &_POSIX_Message_queue_Information, (_id), (_location) )
    5364 
    54 /*PAGE
     65/*
     66 *  _POSIX_Message_queue_Get_fd
     67 */
     68 
     69#define _POSIX_Message_queue_Get_fd( _id, _location ) \
     70  (POSIX_Message_queue_Control_fd *) \
     71    _Objects_Get( &_POSIX_Message_queue_Information_fds, (_id), (_location) )
     72 
     73/*
    5574 *
    5675 *  _POSIX_Message_queue_Is_null
     
    6079  (!(_the_mq))
    6180
    62 /*PAGE
     81/*
    6382 *
    6483 *  _POSIX_Message_queue_Priority_to_core
Note: See TracChangeset for help on using the changeset viewer.