1# Copyright (c) 2017 Intel Corporation
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig POSIX_MESSAGE_PASSING
6	bool "POSIX message queue support"
7	help
8	  This enabled POSIX message queue related APIs.
9
10if POSIX_MESSAGE_PASSING
11
12config POSIX_MQ_OPEN_MAX
13	int "Maximum number of messages in a POSIX message queue"
14	default 16
15	help
16	  Mention maximum number of messages in message queue in POSIX compliant
17	  application.
18
19config POSIX_MQ_PRIO_MAX
20	int "Maximum number of POSIX message priorities"
21	default 32
22	help
23	  Maximum number of message priorities supported by the implementation.
24
25config MSG_SIZE_MAX
26	int "Maximum size of a POSIX message"
27	default 16
28	help
29	  Mention maximum size of message in bytes.
30
31config MQUEUE_NAMELEN_MAX
32	int "Maximum POSIX message queue name size"
33	default 16
34	range 2 $(UINT8_MAX)
35	help
36	  Mention size of message queue name in number of characters.
37
38config HEAP_MEM_POOL_ADD_SIZE_MQUEUE
39	def_int 1024
40
41endif
42