You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mostly a revert of commit b1def71 ("arch: deprecate `_current`").
This commit was part of PR zephyrproject-rtos#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.
(cherry picked from commit 46aa671)
Original-Signed-off-by: Nicolas Pitre <[email protected]>
GitOrigin-RevId: 46aa671
Cr-Build-Id: 8726132470642320465
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8726132470642320465
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I030e4cdfecfa55c2ec3b1a27b843a8c60484463e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6167306
Reviewed-by: Jonathon Murphy <[email protected]>
Tested-by: Keith Short <[email protected]>
Reviewed-by: Keith Short <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Dawid Niedźwiecki <[email protected]>
0 commit comments