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

sleepAsync takes one CPU to run. #7886

Closed
slangmgh opened this issue May 26, 2018 · 0 comments
Closed

sleepAsync takes one CPU to run. #7886

slangmgh opened this issue May 26, 2018 · 0 comments
Labels
Async Everything related to Nim's async

Comments

@slangmgh
Copy link
Contributor

The following code:

waitFor sleepAsync(30000)

make the one of the CPU 100%.

Run in win7.

@andreaferretti andreaferretti added the Async Everything related to Nim's async label May 28, 2018
dom96 added a commit that referenced this issue Jul 5, 2018
Fixes #7886.

Fixes #7758 (remember that `poll` waits for 500ms, change the
             timeout to something like 5s and you'll get
             1 poll call for that code)

Fixes #6929.

Fixes #3909.
dom96 added a commit that referenced this issue Jul 5, 2018
Fixes #7886.

Fixes #7758 (remember that `poll` waits for 500ms, change the
             timeout to something like 5s and you'll get
             1 poll call for that code)

Fixes #6929.

Fixes #3909.
dom96 added a commit that referenced this issue Aug 22, 2018
@Araq Araq closed this as completed in 7532b37 Aug 23, 2018
Araq pushed a commit that referenced this issue Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Async Everything related to Nim's async
Projects
None yet
Development

No branches or pull requests

2 participants