From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9757 invoked by alias); 4 Dec 2007 14:48:28 -0000 Received: (qmail 9748 invoked by uid 22791); 4 Dec 2007 14:48:27 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.181) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Dec 2007 14:48:22 +0000 Received: by wa-out-1112.google.com with SMTP id l35so6906028waf for ; Tue, 04 Dec 2007 06:48:21 -0800 (PST) Received: by 10.114.52.1 with SMTP id z1mr790008waz.1196779701232; Tue, 04 Dec 2007 06:48:21 -0800 (PST) Received: by 10.114.178.10 with HTTP; Tue, 4 Dec 2007 06:48:21 -0800 (PST) Message-ID: <46c9e40c0712040648j5f4a9d71me5b55cb019de83d9@mail.gmail.com> Date: Tue, 04 Dec 2007 14:48:00 -0000 From: "nabil mounir" To: ecos-discuss@sourceware.org In-Reply-To: <46c9e40c0712040646p7219dc78g522deb1abd961198@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46c9e40c0712040646p7219dc78g522deb1abd961198@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] EDF in eCos X-SW-Source: 2007-12/txt/msg00007.txt.bz2 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