This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Periodic activation
- From: "Alois Z." <alois at gmx dot at>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 22 Sep 2008 17:08:55 +0200
- Subject: [ECOS] Periodic activation
Hi,
I'm currently in the process of porting one of my applications to eCos. One function of my app needs a periodic activation. Up to now this is nothing unusual I would just use an alarm handler. The problem now is that in my periodic function I need to work on some data which is protected by a mutex. As I should not do this in a DSR the only solution I found was to activate a thread from the DSR. This I would do with a semaphore as suggested sometimes on the list.
Is this a reasonable and efficient way to do? I don't want to add more overhead as already needed for the mutexes and that kind of stuff. Any suggestions are welcome.
Best Regards,
Alois
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss