diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-26 21:20:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 07:46:15 +0200 |
commit | c8982e5f6a4857444676165deab1e08dc91a6847 (patch) | |
tree | 9862d54650522b55afac8a4e1b84ab078a69dff5 /cpukit/posix/include/rtems/posix/config.h | |
parent | rtems: Avoid Giant lock for message queues (diff) | |
download | rtems-c8982e5f6a4857444676165deab1e08dc91a6847.tar.bz2 |
posix: Simplify message queues
The mq_open() function returns a descriptor to a POSIX message queue
object identified by a name. This is similar to sem_open(). In
contrast to the POSIX semaphore the POSIX message queues use a separate
object for the descriptor. This extra object is superfluous, since the
object identifier can be used directly for this purpose, just like for
the semaphores.
Update #2702.
Update #2555.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/config.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/config.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cpukit/posix/include/rtems/posix/config.h b/cpukit/posix/include/rtems/posix/config.h index 08d764b46a..636f1e7d79 100644 --- a/cpukit/posix/include/rtems/posix/config.h +++ b/cpukit/posix/include/rtems/posix/config.h @@ -94,17 +94,6 @@ typedef struct { /** * This field contains the maximum number of POSIX API - * message queue file descriptors which are configured - * for this application. - * - * @note There can be one or more file descriptors used with - * each message queue. This value should be greater than - * or equal to the number of message queues. - */ - uint32_t maximum_message_queue_descriptors; - - /** - * This field contains the maximum number of POSIX API * semaphores which are configured for this application. */ uint32_t maximum_semaphores; |