1# Copyright (c) 2023 Meta
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menu "POSIX signals"
6
7config POSIX_REALTIME_SIGNALS
8	bool "POSIX realtime signals"
9	help
10	  Enable support for POSIX realtime signals.
11
12if POSIX_REALTIME_SIGNALS
13
14config POSIX_RTSIG_MAX
15	int "Maximum number of realtime signals"
16	default 8
17	help
18	  Define the maximum number of realtime signals (RTSIG_MAX).
19	  The range of realtime signals is [SIGRTMIN .. (SIGRTMIN+RTSIG_MAX)]
20
21endif # POSIX_REALTIME_SIGNALS
22
23config POSIX_SIGNALS
24	bool "POSIX signals"
25	select POSIX_MULTI_PROCESS
26	help
27	  Enable support for POSIX signals.
28
29if POSIX_SIGNALS
30
31config POSIX_SIGNAL_STRING_DESC
32	bool "Use full description for the strsignal API"
33	default y
34	help
35	  Use full description for the strsignal API.
36	  Will use 256 bytes of ROM.
37
38# These options are intended to be used for compatibility with external POSIX
39# implementations such as those in Newlib or Picolibc.
40
41config POSIX_SIGNALS_ALIAS_KILL
42	bool
43
44endif
45
46endmenu # "Signal support"
47