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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-util/fragments/exec-hdr.in
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-util/fragments/exec-hdr.in

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

revision 2708, Sat Sep 20 18:46:49 2014 UTC revision 2786, Tue Oct 14 19:39:27 2014 UTC
# Line 14  Line 14 
14  #define @DIDEROT_TARGET@  #define @DIDEROT_TARGET@
15  #include "Diderot/diderot.h"  #include "Diderot/diderot.h"
16    
17  static char *ProgramName = "@SRCFILE@";  static char *ProgramName = "@PROG_NAME@";
18    
19  typedef struct @PREFIX@struct_world @PREFIX@World_t;  typedef struct @PREFIX@struct_world @PREFIX@World_t;
20  typedef struct @PREFIX@struct_@STRAND@ Strand_@STRAND@_t;  typedef struct @PREFIX@struct_@STRAND@ Strand_@STRAND@_t;
21    
22    /* stages of execution of a program */
23    typedef enum {
24      POST_NEW = 0,         /* world allocated, but not initialized */
25      POST_INIT = 1,        /* Init function has been called */
26      POST_INITIALLY = 2,   /* globals and strands have been initialized */
27      RUNNING = 3,          /* program is running */
28      DONE = 4              /* program has terminated */
29    } ExecutionState_t;
30    

Legend:
Removed from v.2708  
changed lines
  Added in v.2786

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