This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Saving application state
- From: "Ruchika Singh" <rusingh at ecs dot umass dot edu>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 27 Oct 2004 01:08:01 -0000
- Subject: [ECOS] Saving application state
Hi:
I am interested in saving the state of an application(mutithreaded) , so that
it can be started at a later time from a point where its state was last saved.
I understand I'll have save state of all threads in application. Which will
basically be each threads stack. Can I use HAL_Savedregisters which is used
in context switching for this, or is using setjmp()/ long jmp better.
Also I am confused where exactly are global variables of application stored
and how do store heap .
Any comments/help will be highly appreciated.
Thanks
Ruchika
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss