This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re: priority tasks and mutex
- From: "Daniel Lidsten" <Daniel dot Lidsten at combitechsystems dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 9 Jul 2002 11:16:12 +0200
- Subject: RE: [ECOS] Re: priority tasks and mutex
The meantioned feature is implemented using macro: CYGIMP_KERNEL_SCHED_SORTED_QUEUES. It is located under configuration/"eCos kernel"/"kernel schedulers"/"Number of priority levels"/"Dequeue oldest threads"
/Daniel
-----Original Message-----
From: Andrew Lunn [mailto:andrewlunn@fastmail.fm]
Sent: den 9 juli 2002 06:12
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: priority tasks and mutex
This has come up before on the list. There is an option in ecos.ecc to make the list of waiting threads sorted into priority order. I don't remember its name and dont have access to the sources at the moment. Look back in the archive or maybe Nick can jump in with more info.
Andrew
---------------------------------------------------------------------
Hi,
I use a non reentrant library protected by a mutex and I would like to use the priority of the tasks to use it (one of my tasks needs to use the library before all the others). I made a test but it seems that it doesn't work. As anybody already done that ? Thank you. Raphaël SAGEM
--
http://fastmail.fm
- Taking the "ail" out of email!
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss