This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: sched_get_priority_...
- To: tom coremans <tom dot coremans at acunia dot com>
- Subject: Re: [ECOS] sched_get_priority_...
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 07 Sep 2001 17:51:47 +0100
- Cc: "ecos-discuss at sources dot redhat dot com" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <3B989BA7.86020EE8@acunia.com>
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