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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/c-target/fragments/c-body.in
ViewVC logotype

Diff of /branches/vis12/src/compiler/c-target/fragments/c-body.in

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

revision 1849, Mon Apr 16 20:02:01 2012 UTC revision 1850, Mon Apr 16 22:11:09 2012 UTC
# Line 42  Line 42 
42  //! Return the total number of active strands  //! Return the total number of active strands
43  uint32_t @PREFIX@NumActive (@PREFIX@World_t *wrld)  uint32_t @PREFIX@NumActive (@PREFIX@World_t *wrld)
44  {  {
45      return 0; /* FIXME */  #if defined(DIDEROT_TARGET_C)
46        return wrld->numActive;
47    #elif defined(DIDEROT_TARGET_PARALLEL)
48        return wrld->sched->numActive;
49    #else
50    #  error bogus target
51    #endif
52  }  }
53    
54  //! Return the total number of stable strands  //! Return the total number of stable strands

Legend:
Removed from v.1849  
changed lines
  Added in v.1850

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