Skip to content

Conversation

@op30mmd
Copy link

@op30mmd op30mmd commented Nov 28, 2025

The previous method is actually dangerous, i guess this addresses the problem.

@op30mmd op30mmd requested a review from a team as a code owner November 28, 2025 12:08
@thomasskk
Copy link

it should use the while loop as a fallback if sleep isnt defined

@op30mmd
Copy link
Author

op30mmd commented Nov 28, 2025

Thanks, i updated the code to use while loop when sleep is missing.

@fingolfin
Copy link

Duplicate of PR #3143 (from February 2024 😅)

@inthesquarehole
Copy link

Just use something like this for Windows: https://blog.bearcats.nl/perfect-sleep-function/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants