Changeset 53092d1 in rtems for cpukit/posix/include/rtems


Ignore:
Timestamp:
Apr 26, 2002, 11:39:01 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7ae7cf7
Parents:
e6ff222
Message:

2001-04-26 Joel Sherrill <joel@…>

  • include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl, src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c, src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c, src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c: Per PR81 reworked to add a message queue descriptor separate from the underlying message queue. This allows non-blocking to follow the "open" not the underlying queue.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/include/rtems/posix/mqueue.h

    re6ff222 r53092d1  
    3535   boolean                     named;
    3636   boolean                     linked;
    37    int                         oflag;
    3837   unsigned32                  open_count;
    3938   CORE_message_queue_Control  Message_queue;
     
    4140}  POSIX_Message_queue_Control;
    4241
     42typedef struct {
     43   Objects_Control              Object;
     44   POSIX_Message_queue_Control *Queue;
     45   int                          oflag;
     46} POSIX_Message_queue_Control_fd;
     47
    4348/*
    4449 *  The following defines the information control block used to manage
    45  *  this class of objects.
     50 *  this class of objects.  The second item is used to manage the set
     51 *  of "file descriptors" associated with the message queues.
    4652 */
    4753 
    4854POSIX_EXTERN Objects_Information  _POSIX_Message_queue_Information;
     55POSIX_EXTERN Objects_Information  _POSIX_Message_queue_Information_fds;
    4956 
    5057/*
     
    7380  const char                    *name,
    7481  int                            pshared,
    75   unsigned int                   oflag,
    7682  struct mq_attr                *attr,
    7783  POSIX_Message_queue_Control  **message_queue
     
    183189 *  DESCRIPTION:
    184190 *
    185  *  XXX
     191 *  This routine looks up the specified name for a message queue and returns the
     192 *  id of the message queue associated with it.
    186193 */
    187194
Note: See TracChangeset for help on using the changeset viewer.