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

Make running/waiting for multiple subtasks more flexible and convenient #151

Open
Gjum opened this issue Sep 22, 2015 · 0 comments
Open
Assignees

Comments

@Gjum
Copy link
Member

Gjum commented Sep 22, 2015

When a task wants to start several subtasks and wait until one or all of them are finished, a lot of boilerplate is needed.


"all"

  • A waits for B and C
  • C finishes first, A keeps waiting
  • B finishes, A continues

"any"

  • A waits for B or C
  • C finishes first, A continues, B is aborted

lock management

  • if A has the lock, B and C get the chance to acquire it as their first action
  • if A had the lock before waiting, it should automatically be acquired again before A continues
@Gjum Gjum self-assigned this Sep 22, 2015
@gamingrobot gamingrobot modified the milestone: 0.2.0 Oct 2, 2015
@Gjum Gjum removed this from the 0.2.0 milestone Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants