about summary refs log tree commit diff
path: root/library/std/src/sys/pal/itron/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/itron/thread.rs')
-rw-r--r--library/std/src/sys/pal/itron/thread.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/itron/thread.rs b/library/std/src/sys/pal/itron/thread.rs
index 0d28051fcc4..4e14cb3cbca 100644
--- a/library/std/src/sys/pal/itron/thread.rs
+++ b/library/std/src/sys/pal/itron/thread.rs
@@ -361,6 +361,10 @@ unsafe fn terminate_and_delete_current_task() -> ! {
     unsafe { crate::hint::unreachable_unchecked() };
 }
 
+pub(crate) fn current_os_id() -> Option<u64> {
+    None
+}
+
 pub fn available_parallelism() -> io::Result<NonZero<usize>> {
     super::unsupported()
 }