adaint.c (__gnat_pthread_setaffinity_np, [...]): Add these wrappers which check the...
authorJose Ruiz <ruiz@adacore.com>
Mon, 18 Oct 2010 10:48:36 +0000 (10:48 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 18 Oct 2010 10:48:36 +0000 (12:48 +0200)
commitee1feb1499a5d8bc83e16906f2359c16443cbda7
treebe2d0e8e6399ebd9da97cde4e144b5cab6233d39
parentc68015cdba5bdbea25a16f61561438e490af6a8b
adaint.c (__gnat_pthread_setaffinity_np, [...]): Add these wrappers which check the availability of the underlying OS...

2010-10-18  Jose Ruiz  <ruiz@adacore.com>

* adaint.c (__gnat_pthread_setaffinity_np,
__gnat_pthread_attr_setaffinity_np): Add these wrappers which check the
availability of the underlying OS functionality before calling.
* s-osinte-linux.ads (pthread_setaffinity_np,
pthread_attr_setaffinity_np): Call a wrapper instead of the OS function
to perform a check of its availability.
* s-taprop-linux.adb (Create_Task): Remove the check to verify whether
the affinity functionality is available in the OS. Now done in a wrapper
* gcc-interface/Makefile.in: Remove vmshandler.asm, unused.
* gcc-interface/Make-lang.in: Update dependencies.

From-SVN: r165628
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/gcc-interface/Make-lang.in
gcc/ada/gcc-interface/Makefile.in
gcc/ada/s-osinte-linux.ads
gcc/ada/s-taprop-linux.adb