. fixed a recently introduced scheduler (run-queue) bug in proc.c

. a little (optional) debugging code added to proc.c and associated
  data in proc.h
This commit is contained in:
Ben Gras
2005-05-24 12:32:34 +00:00
parent 0f55ebe90a
commit 168b7f2669
2 changed files with 23 additions and 2 deletions

View File

@@ -62,6 +62,10 @@ struct proc {
unsigned p_pendcount; /* count of pending and unfinished signals */
char p_name[PROC_NAME_LEN]; /* name of the process, including \0 */
#if ENABLE_K_DEBUGGING
int p_ready, p_found;
#endif
};
/* Guard word for task stacks. */