zephyr/lib/libc
Nicolas Pitre 46aa6717ff Revert "arch: deprecate _current"
Mostly a revert of commit b1def7145f ("arch: deprecate `_current`").

This commit was part of PR #80716 whose initial purpose was about providing
an architecture specific optimization for _current. The actual deprecation
was sneaked in later on without proper discussion.

The Zephyr core always used _current before and that was fine. It is quite
prevalent as well and the alternative is proving rather verbose.
Furthermore, as a concept, the "current thread" is not something that is
necessarily architecture specific. Therefore the primary abstraction
should not carry the arch_ prefix.

Hence this revert.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-10 07:49:08 +01:00
..
arcmwdt libc: arcmwdt: increase the number of preallocated locks 2024-12-03 02:37:16 +01:00
armstdc Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
common lib: libc: common: time: Add toolchain include 2024-09-26 13:31:03 -05:00
minimal lib: libc: select POSIX_C_LANG_SUPPORT_R 2024-12-10 08:06:25 +01:00
newlib newlib: correct signature of _open() for xtensa 2025-01-05 09:56:54 +01:00
picolibc picolibc: Disable LTO while building picolibc bits 2024-12-20 00:49:56 +01:00
CMakeLists.txt lib: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
Kconfig lib: libc: newlib: Don't replace newlib libc time _r functions 2024-12-10 08:06:25 +01:00