7ddf92a874
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 |
||
---|---|---|
.. | ||
cord | ||
doc | ||
include | ||
Mac_files | ||
tests | ||
aclocal.m4 | ||
add_gc_prefix.c | ||
allchblk.c | ||
alloc.c | ||
alpha_mach_dep.S | ||
AmigaOS.c | ||
backgraph.c | ||
BCC_MAKEFILE | ||
blacklst.c | ||
callprocs | ||
ChangeLog | ||
checksums.c | ||
configure | ||
configure.ac | ||
configure.host | ||
darwin_stop_world.c | ||
dbg_mlc.c | ||
depcomp | ||
digimars.mak | ||
dyn_load.c | ||
EMX_MAKEFILE | ||
finalize.c | ||
gc_cpp.cc | ||
gc_cpp.cpp | ||
gc_dlopen.c | ||
gc.mak | ||
gcc_support.c | ||
gcj_mlc.c | ||
gcname.c | ||
headers.c | ||
hpux_test_and_clear.s | ||
ia64_save_regs_in_stack.s | ||
if_mach.c | ||
if_not_there.c | ||
mach_dep.c | ||
MacOS.c | ||
MacProjects.sit.hqx | ||
Makefile.am | ||
Makefile.direct | ||
Makefile.dist | ||
Makefile.dj | ||
Makefile.DLLs | ||
Makefile.in | ||
malloc.c | ||
mallocx.c | ||
mark_rts.c | ||
mark.c | ||
mips_sgi_mach_dep.s | ||
mips_ultrix_mach_dep.s | ||
misc.c | ||
new_hblk.c | ||
NT_MAKEFILE | ||
NT_STATIC_THREADS_MAKEFILE | ||
NT_THREADS_MAKEFILE | ||
obj_map.c | ||
OS2_MAKEFILE | ||
os_dep.c | ||
pc_excludes | ||
pcr_interface.c | ||
PCR-Makefile | ||
powerpc_darwin_mach_dep.s | ||
pthread_stop_world.c | ||
pthread_support.c | ||
ptr_chck.c | ||
real_malloc.c | ||
reclaim.c | ||
rs6000_mach_dep.s | ||
setjmp_t.c | ||
SMakefile.amiga | ||
solaris_pthreads.c | ||
solaris_threads.c | ||
sparc_mach_dep.S | ||
sparc_netbsd_mach_dep.s | ||
sparc_sunos4_mach_dep.s | ||
specific.c | ||
stubborn.c | ||
threadlibs.c | ||
typd_mlc.c | ||
version.h | ||
WCC_MAKEFILE | ||
win32_threads.c |