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

FlowVar.^ blocks even if isReady returns true #5878

Closed
zacharycarter opened this issue May 23, 2017 · 2 comments
Closed

FlowVar.^ blocks even if isReady returns true #5878

zacharycarter opened this issue May 23, 2017 · 2 comments
Labels
stale Staled PR/issues; remove the label after fixing them Threads

Comments

@zacharycarter
Copy link
Contributor

zacharycarter commented May 23, 2017

Given the following example : https://gist.github.com/zacharycarter/54543ce5ff5dd00b03d4bfb4d81ae663

Retrieving the value of the flow var blocks the main thread for 2+ seconds even though FlowVar.isReady returned true.

Nim Compiler Version 0.17.0 (2017-05-17) [MacOSX: amd64]
Copyright (c) 2006-2017 by Andreas Rumpf

git hash: d3f0f87e81e262ee25fd528aae5b6db0bdf78d5e
active boot switches: -d:release
@stale
Copy link

stale bot commented Aug 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. If you think it is still a valid issue, write a comment below; otherwise it will be closed. Thank you for your contributions.

@stale stale bot added the stale Staled PR/issues; remove the label after fixing them label Aug 4, 2020
@zacharycarter
Copy link
Contributor Author

Closing this for a couple of reasons -

  1. I don't use threadpool anymore
  2. I'm not sure if this is still relevant at all
  3. Overly complex example code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Staled PR/issues; remove the label after fixing them Threads
Projects
None yet
Development

No branches or pull requests

2 participants