Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
asyncdispatch.poll() eats cpu; poll is not blocking #6929
After some investigation, i have found that this bug is regression, made by somebody who introduced this branch (https://github.com/nim-lang/Nim/blob/devel/lib/pure/asyncdispatch.nim#L1234).
@enthus1ast, remove this line, and everything will be fine.
Are you sure this is a regression? This line was always in there: https://github.com/nim-lang/Nim/blame/000b8afd26fa16684a116d9afe798ea94df9c270/lib/upcoming/asyncdispatch.nim#L1222