File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ impl Thread {
313313 target_os = "dragonfly" ,
314314 target_os = "hurd" ,
315315 target_os = "fuchsia" ,
316+ target_os = "vxworks" ,
316317 target_vendor = "apple"
317318 ) ) ) ]
318319 pub fn sleep_until ( deadline : Instant ) {
@@ -334,6 +335,7 @@ impl Thread {
334335 target_os = "dragonfly" ,
335336 target_os = "hurd" ,
336337 target_os = "fuchsia" ,
338+ target_os = "vxworks" ,
337339 ) ) ]
338340 pub fn sleep_until ( deadline : crate :: time:: Instant ) {
339341 let mut ts = deadline
Original file line number Diff line number Diff line change @@ -897,6 +897,7 @@ pub fn sleep(dur: Duration) {
897897/// | Dragonfly | [clock_nanosleep] (Monotonic Clock)] |
898898/// | Hurd | [clock_nanosleep] (Monotonic Clock)] |
899899/// | Fuchsia | [clock_nanosleep] (Monotonic Clock)] |
900+ /// | Vxworks | [clock_nanosleep] (Monotonic Clock)] |
900901/// | Darwin | [mach_wait_until] |
901902/// | WASI | [subscription_clock] |
902903/// | Other | `sleep_until` uses [`sleep`] and does not issue a syscall itself |
You can’t perform that action at this time.
0 commit comments