diff options
author | Richard Braun <rbraun@sceen.net> | 2018-01-10 22:40:26 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-01-10 22:41:37 +0100 |
commit | f53f4cef543c0f1195811edae18e716fb145faf7 (patch) | |
tree | e9092965b88a3139569dc28a776213fa481c272c /kern/thread_i.h | |
parent | 647e9ae3413cc8e7d00028613d262838b39d1708 (diff) |
kern/thread: minor name changes
Call the various thread-local nesting counters "levels".
Diffstat (limited to 'kern/thread_i.h')
-rw-r--r-- | kern/thread_i.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kern/thread_i.h b/kern/thread_i.h index c8a85f57..067b31ed 100644 --- a/kern/thread_i.h +++ b/kern/thread_i.h @@ -135,17 +135,17 @@ struct thread { /* True if priority must be propagated when preemption is reenabled */ bool propagate_priority; /* (-) */ - /* Preemption counter, preemption is enabled if 0 */ - unsigned short preempt; /* (-) */ + /* Preemption level, preemption is enabled if 0 */ + unsigned short preempt_level; /* (-) */ - /* Pinning counter, migration is allowed if 0 */ - unsigned short pinned; /* (-) */ + /* Pin level, migration is allowed if 0 */ + unsigned short pin_level; /* (-) */ - /* Interrupt level counter, in thread context if 0 */ - unsigned short intr; /* (-) */ + /* Interrupt level, in thread context if 0 */ + unsigned short intr_level; /* (-) */ - /* Read-side critical section counter, not in any if 0 */ - unsigned short llsync_read; /* (-) */ + /* Read-side critical section level, not in any if 0 */ + unsigned short llsync_level; /* (-) */ /* Processors on which this thread is allowed to run */ struct cpumap cpumap; /* (r) */ |