public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Re: priority tasks and mutex
@ 2002-07-09  2:17 Daniel Lidsten
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lidsten @ 2002-07-09  2:17 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: priority tasks and mutex
@ 2002-07-08 21:12 Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2002-07-08 21:12 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-09  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09  2:17 [ECOS] Re: priority tasks and mutex Daniel Lidsten
  -- strict thread matches above, loose matches on Subject: below --
2002-07-08 21:12 Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).