Skip to content
Snippets Groups Projects
Commit 4eeed561 authored by Pierre Roux's avatar Pierre Roux Committed by Björn Brandenburg
Browse files

Remove jitter readiness Global Instance

parent 88c38752
No related branches found
No related tags found
1 merge request!205Make instances of most type classes local
From mathcomp Require Export ssreflect ssrnat ssrbool eqtype fintype bigop.
Require Export prosa.behavior.all.
Require Export prosa.behavior.all.
Require Import prosa.util.nat.
......@@ -35,10 +35,10 @@ Section ReadinessOfJitteryJobs.
(** Based on the predicate [is_released], it is easy to state the notion of
readiness for jobs subject to release jitter: a job is ready only if it
is released and not yet complete. *)
Global Program Instance jitter_ready_instance : JobReady Job PState :=
{
job_ready sched j t := is_released j t && ~~ completed_by sched j t
}.
#[local,program] Instance jitter_ready_instance : JobReady Job PState :=
{
job_ready sched j t := is_released j t && ~~ completed_by sched j t
}.
Next Obligation.
move: H2 => /andP [REL UNFINISHED].
rewrite /pending. apply /andP. split => //.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment