diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-01 14:24:08 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-06-01 14:24:08 +0200 |
commit | 8b9ebb99dd053241b9fe1c32a48e24ff9f266c8c (patch) | |
tree | 97bce09eaff4001835cd042dc74b933ce61f1e6c /kern/thread.h | |
parent | 1a2afc00f24b1e7c05fc5dbcf77dd71b43aab1db (diff) |
kern/thread: minor naming change
Refer to scheduling class data instead of context.
Diffstat (limited to 'kern/thread.h')
-rw-r--r-- | kern/thread.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kern/thread.h b/kern/thread.h index 74b1028d..232bbb02 100644 --- a/kern/thread.h +++ b/kern/thread.h @@ -101,9 +101,9 @@ struct thread_ts_runq; #define THREAD_SCHED_RT_PRIO_MAX 31 /* - * Scheduling context of a real-time thread. + * Scheduling data for a real-time thread. */ -struct thread_rt_ctx { +struct thread_rt_data { struct list node; unsigned short priority; unsigned short time_slice; @@ -117,9 +117,9 @@ struct thread_rt_ctx { #define THREAD_SCHED_TS_PRIO_MAX 39 /* - * Scheduling context of a time-sharing thread. + * Scheduling data for a time-sharing thread. */ -struct thread_ts_ctx { +struct thread_ts_data { struct list group_node; struct list runq_node; struct thread_ts_runq *ts_runq; @@ -155,10 +155,10 @@ struct thread { /* Processors on which this thread is allowed to run */ struct cpumap cpumap; - /* Scheduling class specific contexts */ + /* Scheduling class specific data */ union { - struct thread_rt_ctx rt_ctx; - struct thread_ts_ctx ts_ctx; + struct thread_rt_data rt_data; + struct thread_ts_data ts_data; }; /* Read-only members */ |