This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
EDF in eCos
- From: "nabil mounir" <nabilmounir1 at gmail dot com>
- To: ecos-discuss at sourceware dot org
- Date: Tue, 4 Dec 2007 16:48:21 +0200
- Subject: [ECOS] EDF in eCos
- References: <46c9e40c0712040646p7219dc78g522deb1abd961198@mail.gmail.com>
hi,
I'm actually engineer for one period of six month. On this period i
have to implement EDF scheduling in eCos.
first of all, i will try to implement cyg_thread_deadline_wait() with
one table who store the different deadline, and after this, this
function will set priority for each thread. i assume i have to call
the scheduler ( bitmap i think ) for launch the thread with the
earliset deadline. i don't know if i am in the good way...
can you give me some help please because i don't know the function
who call the scheduler : i assume if i attribuate the priority with
cyg_thread_set_priority in cyg_thread_deadline_wait function, i have
to call the scheduler for launch the thread with the new highest
priority.
if you could help i will be very pleased..
Best Regards,
Thank you
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss