//----------------------------------------------------------------------
//  SPECIFICATION FILE (plist.h)
//----------------------------------------------------------------------
#ifndef PLIST_H
#define PLIST_H
#include "bool.h"
#include "dubug.h"

#include "process.h"


struct NodeType1;
typedef NodeType1 *NodePtr1;

struct NodeType1
{
  Process    *process;
  NodePtr1    link;
};

class PList
{
 private:
    NodePtr1 head; 

 public:
    PList();

    ~PList();

    Boolean IsEmpty() const;

    void Insert( Process *);

    Process *Remove(int);

    void Display() const;

};
#endif

