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

Task queue system #27

Open
lars-t-hansen opened this issue May 13, 2015 · 0 comments
Open

Task queue system #27

lars-t-hansen opened this issue May 13, 2015 · 0 comments

Comments

@lars-t-hansen
Copy link
Owner

We have the Par framework for data parallelism, but it would be nice to have something for basic task parallelism too (think GCD, futures, probably many models to choose from).

In its simplest form this would be a couple of data types Task and TaskGroup maybe, with the ability to receive callbacks when something is finished, or to wait for something to finish (or to wait for all/any of a group of things to finish). Marshaling of parameters and results probably.

There would probably have to be a notion of a worker that is suitable for a task (for task distribution and load balancing).

There might be a notion of canceling a job, though I'm not sure how to implement that, the job itself would have to poll to see if it's canceled, perhaps.

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

1 participant