thrqueue.h


/*************************************************************************
*                                                                        *
*   Header: thrqueue.h                                                   *
*                                                                        *
*   realizzato dal Gruppo 17 di Lab2 Anno Accademico 1995/96             *
*                                                                        *
*   Lorenzo     Claudio       Valerio    Riccardo    Emiliano            *
*   Coronati    Lanconelli    Paolini    Solmi       Trentini            *
*                                                                        *
**************************************************************************/
/* Thread Queue */
#ifndef _THRQ_H
#define _THRQ_H

#include "types.h"
#include "msgqueue.h"
#include "proctree.h"

typedef struct thr_t {
    struct thr_t*   t_next;
    state_t          t_s;
    struct proc_t* t_process;
    struct  msg_t*  t_msgqueue;
    void*           t_waitfrom;
    struct thr_t*   t_handler;
    struct thr_t*   t_nextwait;
    struct thr_t*   t_replyqueue;
} thr_t;

#endif


[INDICE CODICE]