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 libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector



------- Comment #13 from arno at heho dot snv dot jussieu dot fr  2005-10-22 20:58 -------
Shouldn't part of boehm-gc .h and config files be installed and picked up by   
#include <gcj/cni.h> ?

Especially boehm-gc doc says pthread_create (and some other thread-functions)
should not be called directly, but rather by including gc.h, which redefines
them.
And those redefinitions depend on values from gc_config.h (especially
GC_<arch>_THREADS).


-- 


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


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