--- xinu/h/q.h 2018/04/24 17:39:02 1.1.1.1 +++ xinu/h/q.h 2018/04/24 17:39:11 1.1.1.2 @@ -4,14 +4,13 @@ #ifndef NQENT #define NQENT NPROC + NSEM + NSEM + 4 /* for ready & sleep */ - /* & preemption */ #endif struct qent { /* one for each process plus two for */ /* each list */ - short qkey; /* key on which the queue is ordered */ - short qnext; /* pointer to next process or tail */ - short qprev; /* pointer to previous process or head */ + int qkey; /* key on which the queue is ordered */ + int qnext; /* pointer to next process or tail */ + int qprev; /* pointer to previous process or head */ }; extern struct qent q[];