* [ECOS] sched_get_priority_...
@ 2001-09-07 3:04 tom coremans
2001-09-07 9:51 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: tom coremans @ 2001-09-07 3:04 UTC (permalink / raw)
To: ecos-discuss
Hi all,
is it normal that the function sched_get_priority_max gives a value (in
our case 0) lower than the function sched_get_priority_min (in our case
31)????
In the file sched.cxx the function sched_get_priority_max makes use of
PTHREAD_POSIX_PRIORITY (CYG_THREAD_MIN_PRIORITY).
Shouldn't that be
PTHREAD_POSIX_PRIORITY (CYG_THREAD_MAX_PRIORITY)????
All help is welcome
Tom & Stijn
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] sched_get_priority_...
2001-09-07 3:04 [ECOS] sched_get_priority_ tom coremans
@ 2001-09-07 9:51 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-09-07 9:51 UTC (permalink / raw)
To: tom coremans; +Cc: ecos-discuss
tom coremans wrote:
>
> Hi all,
>
> is it normal that the function sched_get_priority_max gives a value (in
> our case 0) lower than the function sched_get_priority_min (in our case
> 31)????
>
> In the file sched.cxx the function sched_get_priority_max makes use of
> PTHREAD_POSIX_PRIORITY (CYG_THREAD_MIN_PRIORITY).
>
> Shouldn't that be
> PTHREAD_POSIX_PRIORITY (CYG_THREAD_MAX_PRIORITY)????
Erk, yes. I'll fix it.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-07 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-07 3:04 [ECOS] sched_get_priority_ tom coremans
2001-09-07 9:51 ` Jonathan Larmour
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).