diff options
Diffstat (limited to 'src/chthreads.c')
-rw-r--r-- | src/chthreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chthreads.c b/src/chthreads.c index 338a65d52..e19e04acf 100644 --- a/src/chthreads.c +++ b/src/chthreads.c @@ -34,8 +34,8 @@ void init_thread(tprio_t prio, tmode_t mode, Thread *tp) { tp->p_flags = mode;
tp->p_prio = prio;
#ifdef CH_USE_MUTEXES
- tp->p_mtxlist = NULL;
tp->p_realprio = prio;
+ tp->p_mtxlist = NULL;
#endif
#ifdef CH_USE_WAITEXIT
list_init(&tp->p_waiting);
|