This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/34466] s-tasinf.ads:81:42: "cpu_set_t" not declared in "OS_Interface"



------- Comment #1 from danglin at gcc dot gnu dot org  2008-01-11 01:01 -------
Subject: Bug 34466

Author: danglin
Date: Fri Jan 11 01:00:48 2008
New Revision: 131457

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131457
Log:
        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.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/s-osinte-linux-hppa.ads


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34466


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]