diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2023-10-05 23:54:33 +0100 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2023-10-06 06:06:43 +0100 |
| commit | fca182b6a0c43f3240d6c76397cad1c143e3774c (patch) | |
| tree | 6e7fd704ddb789f263d9fb33035ba5da3aab775c /tests/ui/async-await/in-trait/async-generics.rs | |
| parent | cae0791da47bb01f16885eb233dcd66b0093a6e1 (diff) | |
| download | rust-fca182b6a0c43f3240d6c76397cad1c143e3774c.tar.gz rust-fca182b6a0c43f3240d6c76397cad1c143e3774c.zip | |
Windows: Support sub-millisecond sleep
Use `CreateWaitableTimerExW` with `CREATE_WAITABLE_TIMER_HIGH_RESOLUTION`. Does not work before Windows 10, version 1803 so in that case we fallback to using `Sleep`.
Diffstat (limited to 'tests/ui/async-await/in-trait/async-generics.rs')
0 files changed, 0 insertions, 0 deletions
