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

Race condition in Task startup #2

Open
kschiess opened this issue May 1, 2015 · 0 comments
Open

Race condition in Task startup #2

kschiess opened this issue May 1, 2015 · 0 comments

Comments

@kschiess
Copy link
Owner

kschiess commented May 1, 2015

@floere just discovered the following race-condition:

  • You schedule a task
  • And then quickly call Scheduler#join

The bug is most likely in Scheduler#spawn, where the task is removed from the task_producer queue but not yet created as a process.

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

No branches or pull requests

1 participant