#include "queue.h"
-/* Process management definitions : */
-/* maximum number of processes on one node */
+/**
+ * @defgroup
+ * @brief Process management definitions
+ */
+/** @{ */
+
+/** maximum number of processes on one node */
#define MAXPROCESS 64
-/* maximum number of waiting messages */
+
+/** maximum number of waiting messages */
#define MAXMSGQUEUE 16
-/* message length defined by me (PS) */
+/** message length defined by me (PS) */
#define MSGLENGTH 256
+/** @} */
-
-/* Process state : */
-
+/**
+ * @defgroup
+ * @brief Process states
+ */
+/** @{ */
/* during generation of process object */
#define GENERATING 0
-/* non-active process (suspended by STOP) */
+
+/** non-active process (suspended by STOP) */
#define STOPPED 1
-/* active process (ready to execute) */
+
+/** active process (ready to execute) */
#define EXECUTING 2
-/* waiting for NEW of another process */
+
+/** waiting for NEW of another process */
#define WAITFORNEW 3
-/* waiting for remote procedure call */
+
+/** waiting for remote procedure call */
#define WAITFORRPC 4
-/* during execution of ACCEPT statement */
+
+/** during execution of ACCEPT statement */
#define ACCEPTING 5
-/* waiting for process prototype */
-#define WAITASKPRO 6
-/* Process descriptor : */
+/** waiting for process prototype */
+#define WAITASKPRO 6
+/** @} */
+/** Process descriptor */
typedef struct
{
/* TRUE if in use by some process */