1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix the remaining obsolete reference to time.sleep and time.usleep

This commit is contained in:
Delyan Angelov
2021-02-22 09:12:23 +02:00
parent da05c7ed1a
commit c37daba41d
6 changed files with 14 additions and 14 deletions

View File

@ -2576,7 +2576,7 @@ import time
fn task(id int, duration int, mut wg sync.WaitGroup) {
println('task $id begin')
time.sleep_ms(duration)
time.wait(duration * time.millisecond)
println('task $id end')
wg.done()
}
@ -3841,7 +3841,7 @@ fn print_message() {
fn main() {
for {
print_message()
time.sleep_ms(500)
time.wait(500 * time.millisecond)
}
}
```