This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug ada/38400] Acats faillures due to undefined pthread_setrunon_np
- From: Arnaud Charlet <charlet at adacore dot com>
- To: J dot J dot vanderHeijden at gmail dot com <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Dec 2008 12:14:26 +0100
- Subject: Re: [Bug ada/38400] Acats faillures due to undefined pthread_setrunon_np
- References: <bug-38400-17038@http.gcc.gnu.org/bugzilla/> <20081211110749.13388.qmail@sourceware.org>
> The offending piece of code is pretty useless btw, even on IRIX 6.5.
> The cpu# in question is always initialized in s-tasinf-irix.ads with
> CPU_ANY so the end result is the same as when you wouldn't call
> pthread_setrunon_np() at all. So my initial fix was to simply remove
> this functionality entirely.
That's a misunderstanding of the code: Task_Info can be specified by the user
via pragma Task_Info.
What you're seeing in s-tasinf-irix.ads is just a default that the user
can change.
Arno