X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fproc.h;h=6aec28d3ea5d1627cc20bf4118df2fc1c2dd41a4;hb=1f49e719b93b94993073d3b4abf2108452f71d01;hp=0cf3bac2a77f8473fc649dc81c787557ab96ea28;hpb=454e0296b7831a0fea4f5364040e02b923f4dd6e;p=bertos.git diff --git a/bertos/kern/proc.h b/bertos/kern/proc.h index 0cf3bac2..6aec28d3 100644 --- a/bertos/kern/proc.h +++ b/bertos/kern/proc.h @@ -92,6 +92,7 @@ #ifndef KERN_PROC_H #define KERN_PROC_H +#include "sem.h" #include "cfg/cfg_proc.h" #include "cfg/cfg_signal.h" #include "cfg/cfg_monitor.h" @@ -115,6 +116,12 @@ typedef struct Process { #if CONFIG_KERN_PRI PriNode link; /**< Link Process into scheduler lists */ +# if CONFIG_KERN_PRI_INHERIT + PriNode inh_link; /**< Link Process into priority inheritance lists */ + List inh_list; /**< Priority inheritance list for this Process */ + Semaphore *inh_blocked_by; /**< Semaphore blocking this Process */ + int orig_pri; /**< Process priority without considering inheritance */ +# endif #else Node link; /**< Link Process into scheduler lists */ #endif