source: rtems/cpukit/posix/src/mqueuereceive.c @ 0e16fa45

5
Last change on this file since 0e16fa45 was c3105894, checked in by Sebastian Huber <sebastian.huber@…>, on 10/19/17 at 11:47:57

score: Move thread queue timeout handling

Update #3117.
Update #3182.

  • Property mode set to 100644
File size: 714 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Receive a Message From a Message Queue
5 *  @ingroup POSIX_MQUEUE
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2008.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems/posix/mqueueimpl.h>
22
23ssize_t mq_receive(
24  mqd_t         mqdes,
25  char         *msg_ptr,
26  size_t        msg_len,
27  unsigned int *msg_prio
28)
29{
30  return _POSIX_Message_queue_Receive_support(
31    mqdes,
32    msg_ptr,
33    msg_len,
34    msg_prio,
35    NULL,
36    _Thread_queue_Enqueue_do_nothing_extra
37  );
38}
Note: See TracBrowser for help on using the repository browser.