gcc/boehm-gc
Bryce McKinlay 7ddf92a874 re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector)
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
2006-08-21 22:07:30 +00:00
..
cord Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
doc Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
include re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
Mac_files
tests Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
aclocal.m4 Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
add_gc_prefix.c
allchblk.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alloc.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alpha_mach_dep.S Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
AmigaOS.c
backgraph.c
BCC_MAKEFILE
blacklst.c
callprocs
ChangeLog re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
checksums.c
configure re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
configure.ac re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
configure.host
darwin_stop_world.c Index: gcc/ChangeLog 2006-06-03 02:07:36 +00:00
dbg_mlc.c
depcomp
digimars.mak
dyn_load.c Backport Windows 9x/ME VirtualQuery() fix from GC 6.7. 2006-06-20 17:10:19 +00:00
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 Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
MacOS.c
MacProjects.sit.hqx
Makefile.am Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
Makefile.direct Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
Makefile.dist
Makefile.dj
Makefile.DLLs
Makefile.in Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
malloc.c
mallocx.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mark_rts.c
mark.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mips_sgi_mach_dep.s
mips_ultrix_mach_dep.s
misc.c re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
new_hblk.c
NT_MAKEFILE
NT_STATIC_THREADS_MAKEFILE
NT_THREADS_MAKEFILE
obj_map.c
OS2_MAKEFILE
os_dep.c Backport Windows 9x/ME VirtualQuery() fix from GC 6.7. 2006-06-20 17:10:19 +00:00
pc_excludes
pcr_interface.c
PCR-Makefile
powerpc_darwin_mach_dep.s Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
pthread_stop_world.c pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if signal is received and thread is flagged... 2006-06-21 20:56:37 +00:00
pthread_support.c re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
ptr_chck.c
real_malloc.c
reclaim.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
rs6000_mach_dep.s
setjmp_t.c
SMakefile.amiga
solaris_pthreads.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
solaris_threads.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
sparc_mach_dep.S
sparc_netbsd_mach_dep.s
sparc_sunos4_mach_dep.s
specific.c
stubborn.c
threadlibs.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
typd_mlc.c
version.h Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
WCC_MAKEFILE
win32_threads.c Remove svn:executable property. 2006-01-25 03:13:18 +00:00