cbysnoopy / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
0 stars 0 forks source link

Add a de-initialize function to the platform interface #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Tyler Wilson:

I think there should be a plat_uninit function to balance the plat_init 
function. On some platforms, in order to support timers, callbacks, etc. we 
ought to be 'good citizens' and kill any timers, etc. that were created in 
the plat_init call. The most logical place would be a plat_uninit that is 
called just before exiting the application. Perhaps a pm_uninit which is 
called after the pm_run returns?

Original issue reported on code.google.com by dwhall...@gmail.com on 16 Apr 2009 at 11:19

GoogleCodeExporter commented 9 years ago
Added plat_deinit() to src/vm/plat.h and function implementations for all 
platforms; 
although some platforms implementations are just stub functions.

make check and make PLATFORM=<plat> works for all <plat>.

Mainlined directly, see r368

Original comment by dwhall...@gmail.com on 20 May 2009 at 6:20

GoogleCodeExporter commented 9 years ago
Changing Milestone-r10 to Milestone-r09

Original comment by dwhall...@gmail.com on 7 Mar 2010 at 6:26

GoogleCodeExporter commented 9 years ago
Changed r09 to R09

Original comment by dwhall...@gmail.com on 12 Mar 2010 at 8:22

GoogleCodeExporter commented 9 years ago

Original comment by dwhall...@gmail.com on 13 Mar 2010 at 1:30