re PR ada/34466 (s-tasinf.ads:81:42: "cpu_set_t" not declared in "OS_Interface")
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 11 Jan 2008 01:00:48 +0000 (01:00 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 11 Jan 2008 01:00:48 +0000 (01:00 +0000)
commit3fa87ef8fcb647c77882424daa96bf50b24b3213
tree080e40fffc5ac22cb9862ce61a294008b6057687
parent041313f88f98cfbe5dd58cfb23ec67865292e1a2
re PR ada/34466 (s-tasinf.ads:81:42: "cpu_set_t" not declared in "OS_Interface")

PR ada/34466
* s-osinte-linux-hppa.ads (SC_NPROCESSORS_ONLN): New constant for
sysconf call.
(bit_field): New packed boolean type used by cpu_set_t.
(cpu_set_t): New type corresponding to the C type with
the same name. Note that on the Ada side we use a bit
field array for the affinity mask. There is not need
for the C macro for setting individual bit.
(pthread_setaffinity_np): New imported routine.

From-SVN: r131457
gcc/ada/ChangeLog
gcc/ada/s-osinte-linux-hppa.ads