[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Tue Dec 28 12:53:16 CET 2010
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 10/12/28 12:53:16
Modified files:
cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThreadC.c
Log message:
Use __thread on Linux and Solaris.
Doesn't compile on Apple.
Segfaults on OpenBSD and NetBSD.
Not tested on FreeBSD, AIX, Irix, HP-UX, etc., stick with pthread_get/setspecific.
In future hope to eliminate this code anyway, in favor of gcc/libgcc stack walker
or C++ exceptions (C++ backend).
More information about the M3commit
mailing list