dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
vlp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation fixes
[vlp.git]
/
src
/
int
/
process.h
diff --git
a/src/int/process.h
b/src/int/process.h
index 22fe05626334609f4db687522b4dc37299d29959..7644da9d3db2dd2b262795ee4c9673f050caad8d 100644
(file)
--- a/
src/int/process.h
+++ b/
src/int/process.h
@@
-1,35
+1,50
@@
#include "queue.h"
#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
#define MAXPROCESS 64
-/* maximum number of waiting messages */
+
+/** maximum number of waiting messages */
#define MAXMSGQUEUE 16
#define MAXMSGQUEUE 16
-/* message length defined by me (PS) */
+/*
*
message length defined by me (PS) */
#define MSGLENGTH 256
#define MSGLENGTH 256
+/** @} */
-
-/* Process state : */
-
+/**
+ * @defgroup
+ * @brief Process states
+ */
+/** @{ */
/* during generation of process object */
#define GENERATING 0
/* during generation of process object */
#define GENERATING 0
-/* non-active process (suspended by STOP) */
+
+/** non-active process (suspended by STOP) */
#define STOPPED 1
#define STOPPED 1
-/* active process (ready to execute) */
+
+/** active process (ready to execute) */
#define EXECUTING 2
#define EXECUTING 2
-/* waiting for NEW of another process */
+
+/** waiting for NEW of another process */
#define WAITFORNEW 3
#define WAITFORNEW 3
-/* waiting for remote procedure call */
+
+/** waiting for remote procedure call */
#define WAITFORRPC 4
#define WAITFORRPC 4
-/* during execution of ACCEPT statement */
+
+/** during execution of ACCEPT statement */
#define ACCEPTING 5
#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 */
typedef struct
{
/* TRUE if in use by some process */