SCM Repository
View of /branches/vis12/src/compiler/c-target/fragments/shutdown.in
Parent Directory
|
Revision Log
Revision 1872 -
(download)
(annotate)
Sun May 13 10:35:15 2012 UTC (8 years, 8 months ago) by jhr
File size: 575 byte(s)
Sun May 13 10:35:15 2012 UTC (8 years, 8 months ago) by jhr
File size: 575 byte(s)
Some cleanup in the freeing code
//! shutdown and deallocate the world void @PREFIX@Shutdown (@PREFIX@World_t *wrld) { biffMsgNix (wrld->errors); FreeGlobals (wrld); FREE (wrld->globals); #ifdef DIDEROT_TARGET_PARALLEL FREE (wrld->sched); #endif // free strand objects for (int i = 0; i < wrld->numStrands; i++) { FREE (wrld->inState[i]); FREE (wrld->outState[i]); } // free state arrays FREE (wrld->inState); FREE (wrld->outState); FREE (wrld->status); // free axis info FREE (wrld->base); FREE (wrld->size); FREE (wrld); } // @PREFIX@Shutdown
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |