boehm-gc PR libgcj/13212: * configure.ac: Check for pthread_getattr_np(). Remove GC_PTHREAD_SYM_VERSION detection. * include/gc.h (GC_register_my_thread, GC_unregister_my_thread, GC_get_thread_stack_base): New declarations. * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread, GC_get_thread_stack_base): New functions. (GC_delete_thread): Don't try to free the first_thread. * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible. (pthread_create_, constr): Removed. (pthread_create): Don't rename. * include/gc_ext_config.h.in: Rebuilt. * include/gc_pthread_redirects.h (pthread_create): Define unconditionally. * include/gc_config.h.in: Rebuilt. * configure: Rebuilt. libjava * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread to GC. (_Jv_DetachCurrentThread): Detach thread from GC. * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread): Declare. * boehm.cc (_Jv_GCAttachThread): New function. (_Jv_GCDetachThread): Likewise. From-SVN: r116313
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
boehm-gc.h | Loading commit data... | |
config.h.in | Loading commit data... | |
darwin-signal.h | Loading commit data... | |
default-signal.h | Loading commit data... | |
dwarf2-signal.h | Loading commit data... | |
execution.h | Loading commit data... | |
hppa-signal.h | Loading commit data... | |
i386-signal.h | Loading commit data... | |
java-assert.h | Loading commit data... | |
java-chardecomp.h | Loading commit data... | |
java-chartables.h | Loading commit data... | |
java-cpool.h | Loading commit data... | |
java-insns.h | Loading commit data... | |
java-interp.h | Loading commit data... | |
java-props.h | Loading commit data... | |
java-stack.h | Loading commit data... | |
jni_md.h | Loading commit data... | |
jvm.h | Loading commit data... | |
jvmpi.h | Loading commit data... | |
mips-signal.h | Loading commit data... | |
no-gc.h | Loading commit data... | |
no-threads.h | Loading commit data... | |
pa-signal.h | Loading commit data... | |
posix-threads.h | Loading commit data... | |
posix.h | Loading commit data... | |
powerpc-signal.h | Loading commit data... | |
s390-signal.h | Loading commit data... | |
sh-signal.h | Loading commit data... | |
sparc-signal.h | Loading commit data... | |
stamp-h.in | Loading commit data... | |
win32-signal.h | Loading commit data... | |
win32-threads.h | Loading commit data... | |
win32.h | Loading commit data... | |
x86_64-signal.h | Loading commit data... |