#include <threads.h>
#include <proc.h>
#include <timers_int.h>
+#include <signal.h>
typedef struct sProcess tProcess;
struct sProcess
{
struct sProcess *Next;
+ struct sProcess *Prev;
tPGID PGID;
tPID PID;
int MaxFD;
char *CurrentWorkingDir;
char *RootDir;
+
+ void *SignalHandlers[NSIGNALS];
};
/**
int CurFaultNum; //!< Current fault number, 0: none
tVAddr FaultHandler; //!< Fault Handler
+
+ int PendingSignal; //!< Pending signal ID (0 = none)
+
+
tMsg * volatile Messages; //!< Message Queue
tMsg *LastMessage; //!< Last Message (speeds up insertion)