This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/18573] New: libobjc abuses posix thread ids
- From: "ratmice at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2004 23:48:06 -0000
- Subject: [Bug libobjc/18573] New: libobjc abuses posix thread ids
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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