From 85cab4f981e4ab90f20bf36031f6e3242f33ad7a Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Mon, 12 May 2008 12:54:50 -0400 Subject: introduce release_at callback to LITMUS plugin interface PFAIR needs to do things a bit differently. This callback will allow plugins to handle synchronous releases differently. --- include/litmus/sched_plugin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/litmus/sched_plugin.h b/include/litmus/sched_plugin.h index 872a7cbff3..5b4b430a5b 100644 --- a/include/litmus/sched_plugin.h +++ b/include/litmus/sched_plugin.h @@ -81,6 +81,8 @@ typedef long (*complete_job_t) (void); typedef long (*admit_task_t)(struct task_struct* tsk); +typedef void (*release_at_t)(struct task_struct *t, lt_t start); + struct sched_plugin { struct list_head list; /* basic info */ @@ -95,6 +97,7 @@ struct sched_plugin { /* syscall backend */ complete_job_t complete_job; + release_at_t release_at; /* task state changes */ admit_task_t admit_task; -- cgit v1.2.2