blob: 569cef39e762dd901941c0a93d6e111a020e9aa5 [file] [log] [blame]
# Copyright (c) 2024 Meta
#
# SPDX-License-Identifier: Apache-2.0
menuconfig POSIX_RW_LOCKS
bool "POSIX reader-writer locks"
help
Select 'y' here to enable POSIX reader-writer locks.
For more information please see
https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_subprofiles.html
if POSIX_RW_LOCKS
config MAX_PTHREAD_RWLOCK_COUNT
int "Maximum number of POSIX reader-writer locks"
default 5
help
Maximum simultaneously active reader-writer locks in a POSIX application.
Note: this is a non-standard option.
module = PTHREAD_RWLOCK
module-str = POSIX Reader-Writer Locks
source "subsys/logging/Kconfig.template.log_config"
endif # POSIX_RW_LOCKS
config POSIX_READER_WRITER_LOCKS
bool "POSIX reader-writer locks [DEPRECATED]"
select DEPRECATED
select POSIX_RW_LOCKS
help
This option is deprecated. Use POSIX_RW_LOCKS instead.