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

Preemption #120

Open
nicoloboschi opened this issue Oct 30, 2017 · 0 comments
Open

Preemption #120

nicoloboschi opened this issue Oct 30, 2017 · 0 comments
Assignees

Comments

@nicoloboschi
Copy link
Contributor

JIRA: https://dev.majordodo.org/jira/browse/MAJ-4

Reporter: eolivelli @eolivelli

Ths is the ability for the broker to request preemption on a task when tasks for high priority groups are submitted.
The code of the task need to "handle" preemption, and so this feature will be available only for special tasks.
A premptionable task need to check for an "preemption-required flag" and in this case it should request a suspension (see MAJ-3)

The broker needs to tell to the task to be suspended that a request of preemption has come, for this kind of comunication a new kind of netwwork message will be implemented.

It is to be defined the strategy to use to decide which task should be preempted among all the running tasks....

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

2 participants