aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/rt_domain.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:47:19 -0500
committerAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:47:19 -0500
commit3d6e88ccd9fbb6f96a8bb3af09bdfbb151f353e4 (patch)
tree75313c0cb7099b170d531bd408365692df51e8db /include/litmus/rt_domain.h
parent58054c96a3e5cb03a1ffa13a42caf877f0152a37 (diff)
Add release-master support
Diffstat (limited to 'include/litmus/rt_domain.h')
-rw-r--r--include/litmus/rt_domain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus/rt_domain.h b/include/litmus/rt_domain.h
index bde1e5a54812..c7c55bef3e42 100644
--- a/include/litmus/rt_domain.h
+++ b/include/litmus/rt_domain.h
@@ -28,6 +28,7 @@ typedef struct _rt_domain {
28 /* real-time tasks waiting for release are in here */ 28 /* real-time tasks waiting for release are in here */
29 spinlock_t release_lock; 29 spinlock_t release_lock;
30 struct release_queue release_queue; 30 struct release_queue release_queue;
31 int release_master;
31 32
32 /* for moving tasks to the release queue */ 33 /* for moving tasks to the release queue */
33 spinlock_t tobe_lock; 34 spinlock_t tobe_lock;
@@ -51,6 +52,8 @@ struct release_heap {
51 struct heap heap; 52 struct heap heap;
52 /* used to trigger the release */ 53 /* used to trigger the release */
53 struct hrtimer timer; 54 struct hrtimer timer;
55 /* used to delegate releases */
56 struct hrtimer_start_on_info info;
54 /* required for the timer callback */ 57 /* required for the timer callback */
55 rt_domain_t* dom; 58 rt_domain_t* dom;
56}; 59};