Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove blocking thread::sleep()s #5

Open
MrTanoshii opened this issue Apr 12, 2022 · 0 comments
Open

Remove blocking thread::sleep()s #5

MrTanoshii opened this issue Apr 12, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@MrTanoshii
Copy link
Owner

MrTanoshii commented Apr 12, 2022

Problem

thread::sleep()s are currently implemented to allow:

  • macOS to catch up
  • humanlike mode

Solution

They should be removed in favor of code execution being tested against delta_time

Relevant code

app.rs send()
app.rs autoclick()

@MrTanoshii MrTanoshii added the enhancement New feature or request label Apr 12, 2022
@MrTanoshii MrTanoshii added the hacktoberfest https://hacktoberfest.com/ label Sep 24, 2022
@MrTanoshii MrTanoshii added this to the Hacktoberfest 2022 milestone Sep 27, 2022
@MrTanoshii MrTanoshii removed the hacktoberfest https://hacktoberfest.com/ label Nov 6, 2022
@MrTanoshii MrTanoshii removed this from the Hacktoberfest 2022 milestone Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant