zephyr/lib/posix
Christopher Friedt 7e8953ed7f posix: ensure that pooled ipc type is user-configurable
Previously it was not possible to n-select e.g.
CONFIG_PTHREAD_BARRIER because the Kconfig template for it
lacked a prompt. This made it impossible to disable some
unused POSIX features and unnecessarily increased code size
if unused code sections were not discarded by the linker.

Add a prompt so that each pooled IPC type is
user-configurable and can be disabled if unneeded.

Further, ensure that only the selected sources from lib/posix
are included in the cmake build.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-10-13 11:13:07 -04:00
..
getopt iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
_common.c arch: remove wait_q.h include 2023-09-12 12:55:36 -04:00
barrier.c posix: Implement pthread_barrieratter functions 2023-07-09 10:40:57 -04:00
clock.c posix: implement clock_nanosleep 2023-08-30 13:02:58 -07:00
CMakeLists.txt posix: ensure that pooled ipc type is user-configurable 2023-10-13 11:13:07 -04:00
cond.c posix: logging: use log module register instead of declare 2023-09-19 16:11:58 +01:00
eventfd.c posix: eventfd: remove redundant conditional 2023-07-21 06:33:19 -04:00
fnmatch.c posix: fnmatch: correct (many) compliance issues 2023-03-03 17:40:14 +09:00
fs.c posix: fs: Fixes stat command to return file information 2023-06-23 17:04:34 -04:00
Kconfig posix: signal: check RTSIG limit 2023-07-18 15:35:42 -04:00
Kconfig.barrier posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.clock posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.cond posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.eventfd lib: os: build fdtable conditionally 2023-09-28 06:25:16 -04:00
Kconfig.fnmatch posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.fs lib: os: build fdtable conditionally 2023-09-28 06:25:16 -04:00
Kconfig.getopt posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.key posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.limits posix: signal: check RTSIG limit 2023-07-18 15:35:42 -04:00
Kconfig.mqueue posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.mutex posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.pthread pthread: facilitate dynamically allocated thread stacks 2023-07-24 12:59:43 -04:00
Kconfig.semaphore posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.signal posix: signal: implement strsignal 2023-07-18 15:35:42 -04:00
Kconfig.spinlock posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.template.pooled_ipc_type posix: ensure that pooled ipc type is user-configurable 2023-10-13 11:13:07 -04:00
Kconfig.template.pooled_type posix: add logging to pooled resource templates 2023-09-19 06:16:10 -04:00
Kconfig.template.with_logging posix: add logging to pooled resource templates 2023-09-19 06:16:10 -04:00
Kconfig.template.with_url posix: split supported features into separate Kconfig files 2023-07-06 11:47:07 -04:00
Kconfig.timer posix: implement timer_getoverrun() 2023-07-10 09:30:33 +02:00
Kconfig.uname posix: implement uname 2023-07-09 16:57:16 -04:00
key.c posix: rename some files for brevity 2023-07-06 11:47:07 -04:00
mqueue.c posix: mqueue: do not typedef mq_attr 2023-01-23 09:57:31 -08:00
mutex.c lib: posix: mutex: to_posix_mutex should be spinlocked 2023-10-03 22:30:38 -04:00
nanosleep.c posix: implement clock_nanosleep 2023-08-30 13:02:58 -07:00
perror.c lib: posix: add perror() implementation 2022-07-04 22:53:36 +02:00
posix_internal.h pthread: facilitate dynamically allocated thread stacks 2023-07-24 12:59:43 -04:00
pthread.c posix: pthread: Reuse variable for return code 2023-10-03 15:23:43 +01:00
pthread_sched.h posix: sched: add support for SCHED_OTHER 2023-04-29 13:14:40 -07:00
rwlock.c lib: posix: pthread_rwlock: Fix a racy issue 2023-07-12 09:25:26 +02:00
sched.c posix: rename some files for brevity 2023-07-06 11:47:07 -04:00
semaphore.c lib: posix: semaphore: use consistent timebase in sem_timedwait 2022-06-24 20:12:05 +02:00
signal.c posix: signal: extend strsignal buf to cover entire INT range 2023-08-04 15:54:18 -04:00
sleep.c lib: posix: update usleep() to follow the POSIX spec 2022-11-24 19:31:33 -05:00
spinlock.c posix: spinlock: additional kconfig for k_spinlock being size 0 2023-07-06 16:45:26 +00:00
timer.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
uname.c posix: implement uname 2023-07-09 16:57:16 -04:00