summaryrefslogtreecommitdiff
path: root/kern/thread_i.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-01-29 12:52:10 +0100
committerRichard Braun <rbraun@sceen.net>2017-01-29 12:52:10 +0100
commite2533f68e2a1f7495929a1d799ddd39c714984d8 (patch)
tree925c244d8318c5a89c50fc3944fe9b2be218efef /kern/thread_i.h
parent57a3100da2adc0dc6b5215e142fb0cfa962e17d6 (diff)
kern/thread: rename "time-sharing" to "fair-scheduling"
Diffstat (limited to 'kern/thread_i.h')
-rw-r--r--kern/thread_i.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kern/thread_i.h b/kern/thread_i.h
index 189c359..4116726 100644
--- a/kern/thread_i.h
+++ b/kern/thread_i.h
@@ -27,7 +27,7 @@
#include <machine/tcb.h>
struct thread_runq;
-struct thread_ts_runq;
+struct thread_fs_runq;
/*
* Thread flags.
@@ -55,12 +55,12 @@ struct thread_rt_data {
};
/*
- * Scheduling data for a time-sharing thread.
+ * Scheduling data for a fair-scheduling thread.
*/
-struct thread_ts_data {
+struct thread_fs_data {
struct list group_node;
struct list runq_node;
- struct thread_ts_runq *ts_runq;
+ struct thread_fs_runq *fs_runq;
unsigned long round;
unsigned short priority;
unsigned short weight;
@@ -103,7 +103,7 @@ struct thread {
/* Scheduling class specific data */
union {
struct thread_rt_data rt_data;
- struct thread_ts_data ts_data;
+ struct thread_fs_data fs_data;
};
/*