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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116313 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- boehm-gc/ChangeLog 19 additions, 0 deletionsboehm-gc/ChangeLog
- boehm-gc/configure 113 additions, 23 deletionsboehm-gc/configure
- boehm-gc/configure.ac 8 additions, 20 deletionsboehm-gc/configure.ac
- boehm-gc/include/gc.h 19 additions, 1 deletionboehm-gc/include/gc.h
- boehm-gc/include/gc_config.h.in 3 additions, 3 deletionsboehm-gc/include/gc_config.h.in
- boehm-gc/include/gc_ext_config.h.in 1 addition, 1 deletionboehm-gc/include/gc_ext_config.h.in
- boehm-gc/include/gc_pthread_redirects.h 0 additions, 2 deletionsboehm-gc/include/gc_pthread_redirects.h
- boehm-gc/misc.c 7 additions, 1 deletionboehm-gc/misc.c
- boehm-gc/pthread_support.c 106 additions, 32 deletionsboehm-gc/pthread_support.c
- libjava/ChangeLog 10 additions, 0 deletionslibjava/ChangeLog
- libjava/boehm.cc 18 additions, 0 deletionslibjava/boehm.cc
- libjava/include/boehm-gc.h 4 additions, 0 deletionslibjava/include/boehm-gc.h
- libjava/java/lang/natThread.cc 5 additions, 1 deletionlibjava/java/lang/natThread.cc
Loading
Please register or sign in to comment