2008-04-07 Aurelien Jarno <aurelien@aurel32.net>
commit1ac4dadbe2c311e7188f13ad8f2c8383229ee191
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2008 12:30:03 +0000 (7 12:30 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2008 12:30:03 +0000 (7 12:30 +0000)
tree7dfaa9a59a8f722dc98076e9a8be70f51e3eec4f
parent27e9f331542a274cf27cb1b4cb7f60f01e90d1fb
2008-04-07  Aurelien Jarno  <aurelien@aurel32.net>

        * s-osinte-linux-kfreebsd.ads (SC_NPROCESSORS_ONLN): New
        constant 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.
        * Makefile.in: Use s-tasinf-linux.ads and s-tasinf-linux.adb
        on GNU/kFreeBSD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133978 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/Makefile.in
gcc/ada/s-osinte-kfreebsd-gnu.ads