proctree.h


/*************************************************************************
*                                                                        *
*   Header: proctree.h                                                   *
*                                                                        *
*   realizzato dal Gruppo 17 di Lab2 Anno Accademico 1995/96             *
*                                                                        *
*   Lorenzo     Claudio       Valerio    Riccardo    Emiliano            *
*   Coronati    Lanconelli    Paolini    Solmi       Trentini            *
*                                                                        *
**************************************************************************/

/* process tree */
#ifndef _PROCT_H
#define _PROCT_H

#include "thrqueue.h"

typedef struct proc_t {
    struct proc_t* p_next;
    struct proc_t* p_nextready;
    struct proc_t* p_parent;
    struct proc_t* p_child;
    struct thr_t*   p_waitqueue;
    struct thr_t*   p_readyqueue;
    struct thr_t*   p_prgtrap;
    struct thr_t*   p_memtrap;
    struct thr_t*   p_systrap;
    long            p_cputime;
} proc_t;

#endif


[INDICE CODICE]