zephyr/lib/posix/options
Chris Friedt 7506274ef2 posix: use sys_sem instead of k_spinlock for pool synch
Based on Andy's talk at eoss 2024, use the sys/sem.h api instead
of the spinlock.h api to synchronize pooled elements since it
has minimal overhead like semaphores but also works from
userspace.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-10-03 17:07:05 +01:00
..
getopt style: lib: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
CMakeLists.txt lib: posix: add stubs for thread-safe grp & pwd functions 2024-08-05 10:17:27 +02:00
Kconfig libc: common: implement multiple time functions 2024-08-21 16:59:15 -04:00
Kconfig.aio
Kconfig.barrier
Kconfig.c_lang_r lib/posix: Only enable Zephyr _r APIs when toolchain doesn't 2024-09-16 20:17:35 +02:00
Kconfig.c_lib_ext
Kconfig.compat
Kconfig.deprecated posix: deprecated: remove new options without deprecation 2024-07-18 16:28:02 -04:00
Kconfig.device_io Revert "posix: device_io: require a full libc for c89 functions" 2024-07-03 15:03:05 -04:00
Kconfig.fd_mgmt Revert "posix: kconfig: remove select y from non-user-selectable help" 2024-07-03 15:03:05 -04:00
Kconfig.fs lib: posix: update option group of `readdir_r()` 2024-08-21 16:59:15 -04:00
Kconfig.mem posix: implement mprotect() 2024-06-14 14:01:05 -04:00
Kconfig.mqueue kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.net
Kconfig.proc1
Kconfig.procN
Kconfig.profile
Kconfig.pthread libc: common: implement multiple time functions 2024-08-21 16:59:15 -04:00
Kconfig.rwlock
Kconfig.sched
Kconfig.semaphore kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.signal posix: add stubs for signal.h functions that need process support 2024-08-23 10:35:11 -04:00
Kconfig.spinlock
Kconfig.sync_io
Kconfig.timer
Kconfig.toolchain posix: allow for external implementation of option groups 2024-06-26 13:08:21 -04:00
Kconfig.xsi
aio.c
barrier.c
clock.c lib/posix: Get uptime in ticks instead of cycles 2024-06-28 21:01:54 -04:00
cond.c
confstr.c
device_io.c Revert "posix: device_io: implement pread() and pwrite()" 2024-07-03 15:03:05 -04:00
env.c
eventfd.c
fd_mgmt.c Revert "posix: fd_mgmt: implement dup(), dup2(), fseeko(), and ftello()" 2024-07-03 15:03:05 -04:00
fnmatch.c
fs.c posix: Define _POSIX_C_SOURCE to gain access to POSIX functions 2024-09-16 20:17:35 +02:00
fsync.c posix: fs: implement `fdatasync()` 2024-07-29 14:14:33 +02:00
getentropy.c
grp.c lib: posix: add stubs for thread-safe grp & pwd functions 2024-08-05 10:17:27 +02:00
key.c posix: use sys_sem instead of k_spinlock for pool synch 2024-10-03 17:07:05 +01:00
mlock.c posix: add support for mlock() and munlock() 2024-06-14 14:01:05 -04:00
mlockall.c posix: add support for mlockall() and munlockall() 2024-06-14 14:01:05 -04:00
mmap.c posix: add implementation of mmap(), msync(), and munmap() 2024-06-14 14:01:05 -04:00
mprotect.c posix: implement mprotect() 2024-06-14 14:01:05 -04:00
mqueue.c
multi_process.c posix: procN: add missing alias for getpid() 2024-08-23 10:35:11 -04:00
mutex.c posix: use sys_sem instead of k_spinlock for pool synch 2024-10-03 17:07:05 +01:00
net.c
perror.c
posix_clock.h
posix_internal.h
pthread.c posix: use sys_sem instead of k_spinlock for pool synch 2024-10-03 17:07:05 +01:00
pthread_sched.h
pwd.c lib: posix: add stubs for thread-safe grp & pwd functions 2024-08-05 10:17:27 +02:00
rwlock.c posix: use sys_sem instead of k_spinlock for pool synch 2024-10-03 17:07:05 +01:00
sched.c
semaphore.c
shm.c posix: options/shm.c needs _POSIX_C_SOURCE 2024-09-16 20:17:35 +02:00
signal.c posix: add stubs for signal.h functions that need process support 2024-08-23 10:35:11 -04:00
sleep.c
spinlock.c
stropts.c posix: move ioctl() from fdtable to posix 2024-06-14 14:01:05 -04:00
sysconf.c posix: sysconf.c uses POSIX values 2024-09-16 20:17:35 +02:00
syslog.c
timer.c posix: Define _POSIX_C_SOURCE to gain access to POSIX functions 2024-09-16 20:17:35 +02:00
timespec_to_timeout.c
uname.c