2023-07-08 22:09:25 +08:00
|
|
|
# Copyright (c) 2023 Meta
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config POSIX_SIGNAL
|
|
|
|
bool "Support for POSIX signal APIs"
|
|
|
|
default y if POSIX_API
|
|
|
|
help
|
|
|
|
Enable support for POSIX signal APIs.
|
|
|
|
|
|
|
|
if POSIX_SIGNAL
|
|
|
|
|
2023-07-11 01:14:25 +08:00
|
|
|
config POSIX_SIGNAL_STRING_DESC
|
|
|
|
bool "Use full description for the strsignal API"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use full description for the strsignal API.
|
|
|
|
Will use 256 bytes of ROM.
|
|
|
|
|
2023-07-08 22:09:25 +08:00
|
|
|
endif
|
2023-12-03 03:50:43 +08:00
|
|
|
|
|
|
|
# needed outside of if clause above to define constants & types in signal.h
|
|
|
|
config POSIX_RTSIG_MAX
|
|
|
|
int "Maximum number of realtime signals"
|
|
|
|
default 31 if POSIX_SIGNAL
|
2023-12-03 01:26:13 +08:00
|
|
|
default 0
|
2023-12-03 03:50:43 +08:00
|
|
|
help
|
|
|
|
Define the maximum number of realtime signals (RTSIG_MAX).
|
|
|
|
The range of realtime signals is [SIGRTMIN .. (SIGRTMIN+RTSIG_MAX)]
|