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 libobjc/18573] New: libobjc abuses posix thread ids


libobjc currently returns the threads id in multiple places, and assumes that it
can return NULL as an identifier for "no thread" but posix thread id's are
opqaque, hurd uses a thread id of 0 for the first thread.

i'll attach a patch which while still not correct, should show the problem
areas, and has worked for linux and hurd.

-- 
           Summary: libobjc abuses posix thread ids
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ratmice at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i585-gnu


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


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