about summary refs log tree commit diff
path: root/library/std/src/sys/pal/teeos/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/teeos/thread.rs')
-rw-r--r--library/std/src/sys/pal/teeos/thread.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/teeos/thread.rs b/library/std/src/sys/pal/teeos/thread.rs
index a91d95626e7..1812d11e692 100644
--- a/library/std/src/sys/pal/teeos/thread.rs
+++ b/library/std/src/sys/pal/teeos/thread.rs
@@ -144,6 +144,10 @@ impl Drop for Thread {
     }
 }
 
+pub(crate) fn current_os_id() -> Option<u64> {
+    None
+}
+
 // Note: Both `sched_getaffinity` and `sysconf` are available but not functional on
 // teeos, so this function always returns an Error!
 pub fn available_parallelism() -> io::Result<NonZero<usize>> {