aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2016-07-20 11:36:42 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2016-07-20 11:45:53 -0400
commit3047e0353fea3f08a189afc13de8cc23f0bcedb6 (patch)
tree1edf4fffbefcb70077a0683c34e4eec449fe54ba
parent9efeb0483c4fc30b3257a1450ad15ee3d77c15f7 (diff)
add fields for clock_nanosleep() support
Need to communicate the intended wake-up time to the plugin wake-up handler.
-rw-r--r--include/litmus/rt_param.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index 7663e0806531..9b291343714f 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -197,13 +197,19 @@ struct rt_param {
197 /* timing parameters */ 197 /* timing parameters */
198 struct rt_job job_params; 198 struct rt_job job_params;
199 199
200
201 /* Special handling for periodic tasks executing
202 * clock_nanosleep(CLOCK_MONOTONIC, ...).
203 */
204 lt_t nanosleep_wakeup;
205 unsigned int doing_abs_nanosleep:1;
206
200 /* Should the next job be released at some time other than 207 /* Should the next job be released at some time other than
201 * just period time units after the last release? 208 * just period time units after the last release?
202 */ 209 */
203 unsigned int sporadic_release:1; 210 unsigned int sporadic_release:1;
204 lt_t sporadic_release_time; 211 lt_t sporadic_release_time;
205 212
206
207 /* task representing the current "inherited" task 213 /* task representing the current "inherited" task
208 * priority, assigned by inherit_priority and 214 * priority, assigned by inherit_priority and
209 * return priority in the scheduler plugins. 215 * return priority in the scheduler plugins.