This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 nptl/3436] New: pthread.h inconsistent about what is defined as a macro


Some of the PTHREAD_* constants in pthread.h are defined as both enums and
macros (#define FOO FOO).  Others, apparently arbitrarily, are only defined as
enums, although POSIX makes no distinction between the two sets of constants.

I think it's most useful for all these constants to be defined as both enums and
macros; I'll attach a patch to add the missing macro definitions.

-- 
           Summary: pthread.h inconsistent about what is defined as a macro
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3436

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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