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 {
313
313
target_os = "dragonfly" ,
314
314
target_os = "hurd" ,
315
315
target_os = "fuchsia" ,
316
+ target_os = "vxworks" ,
316
317
target_vendor = "apple"
317
318
) ) ) ]
318
319
pub fn sleep_until ( deadline : Instant ) {
@@ -334,6 +335,7 @@ impl Thread {
334
335
target_os = "dragonfly" ,
335
336
target_os = "hurd" ,
336
337
target_os = "fuchsia" ,
338
+ target_os = "vxworks" ,
337
339
) ) ]
338
340
pub fn sleep_until ( deadline : crate :: time:: Instant ) {
339
341
let mut ts = deadline
Original file line number Diff line number Diff line change @@ -894,6 +894,7 @@ pub fn sleep(dur: Duration) {
894
894
/// | Dragonfly | [clock_nanosleep] (Monotonic Clock)] |
895
895
/// | Hurd | [clock_nanosleep] (Monotonic Clock)] |
896
896
/// | Fuchsia | [clock_nanosleep] (Monotonic Clock)] |
897
+ /// | Vxworks | [clock_nanosleep] (Monotonic Clock)] |
897
898
/// | Darwin | [mach_wait_until] |
898
899
/// | WASI | [subscription_clock] |
899
900
/// | Other | `sleep_until` uses [`sleep`] and does not issue a syscall itself |
You can’t perform that action at this time.
0 commit comments