Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12-cl/src/include/Diderot/world.h
ViewVC logotype

Diff of /branches/vis12-cl/src/include/Diderot/world.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3134, Wed Mar 25 15:47:46 2015 UTC revision 3135, Wed Mar 25 18:31:23 2015 UTC
# Line 15  Line 15 
15  #include "types.h"  #include "types.h"
16  #endif  #endif
17    
18    /* stages of execution of a program */
19    typedef enum {
20      POST_NEW = 0,         /* world allocated, but not initialized */
21      POST_INIT = 1,        /* Init function has been called */
22      POST_INITIALLY = 2,   /* globals and strands have been initialized */
23      RUNNING = 3,          /* program is running */
24      DONE = 4              /* program has terminated */
25    } ExecutionState_t;
26    
27  /* The World_t structure type varies across targets, but all targets share the same prefix. */  /* The World_t structure type varies across targets, but all targets share the same prefix. */
28  #define STRUCT_WORLD_PREFIX                                                                     \  #define STRUCT_WORLD_PREFIX                                                                     \
29      const char          *name;          /*!< the program name */                                \      const char          *name;          /*!< the program name */                                \
30      biffMsg             *errors;        /*!< holds error messages (if any) */                   \      biffMsg             *errors;        /*!< holds error messages (if any) */                   \
31        ExecutionState_t    stage;          /*!< current stage of program execution */              \
32      bool                verboseFlg;     /*!< true if running in verbose mode */                 \      bool                verboseFlg;     /*!< true if running in verbose mode */                 \
33      bool                isArray;        /*!< are the strands in an array or collection? */      \      bool                isArray;        /*!< are the strands in an array or collection? */      \
34      uint32_t            nStrandTys;     /*!< number of strand types in the program. */          \      uint32_t            nStrandTys;     /*!< number of strand types in the program. */          \

Legend:
Removed from v.3134  
changed lines
  Added in v.3135

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0