aboutsummaryrefslogtreecommitdiff
path: root/pw_thread_threadx/public/pw_thread_threadx/id_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw_thread_threadx/public/pw_thread_threadx/id_inline.h')
-rw-r--r--pw_thread_threadx/public/pw_thread_threadx/id_inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw_thread_threadx/public/pw_thread_threadx/id_inline.h b/pw_thread_threadx/public/pw_thread_threadx/id_inline.h
index 1ae08b812..369383935 100644
--- a/pw_thread_threadx/public/pw_thread_threadx/id_inline.h
+++ b/pw_thread_threadx/public/pw_thread_threadx/id_inline.h
@@ -21,7 +21,7 @@
namespace pw::this_thread {
-inline thread::Id get_id() {
+inline thread::Id get_id() noexcept {
// When this value is 0, a thread is executing or the system is idle.
// Other values indicate that interrupt or initialization processing is
// active.