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
..
2006-01-25 03:03:14 +00:00
2006-01-25 03:03:14 +00:00
2006-08-21 22:07:30 +00:00
2003-07-28 04:18:23 +00:00
2006-01-25 03:03:14 +00:00
2006-05-24 21:33:42 +00:00
2006-01-25 03:03:14 +00:00
2006-01-25 03:03:14 +00:00
2006-01-25 03:03:14 +00:00
2004-08-28 00:41:41 +00:00
2004-08-14 00:05:36 +01:00
2006-08-21 22:07:30 +00:00
2004-08-14 00:05:36 +01:00
2006-08-21 22:07:30 +00:00
2006-08-21 22:07:30 +00:00
2005-02-16 04:10:42 +00:00
2006-06-03 02:07:36 +00:00
2004-08-14 00:05:36 +01:00
2003-07-28 03:46:07 +00:00
2006-06-20 17:10:19 +00:00
2004-08-28 00:41:41 +00:00
2003-07-28 04:18:23 +00:00
2003-07-28 04:18:23 +00:00
2004-08-14 00:05:36 +01:00
2004-08-14 00:05:36 +01:00
2003-07-28 04:18:23 +00:00
2004-08-14 00:05:36 +01:00
2006-01-25 03:03:14 +00:00
2006-05-24 21:33:42 +00:00
2006-01-25 03:03:14 +00:00
2004-08-14 00:05:36 +01:00
2004-08-14 00:05:36 +01:00
2006-05-24 21:33:42 +00:00
2004-08-14 00:05:36 +01:00
2006-01-25 03:03:14 +00:00
2005-02-09 21:33:02 +00:00
2006-01-25 03:03:14 +00:00
2003-10-20 18:37:22 +00:00
2006-08-21 22:07:30 +00:00
2004-08-14 00:05:36 +01:00
2004-08-14 00:05:36 +01:00
2004-08-12 22:14:23 +01:00
2006-06-20 17:10:19 +00:00
2006-01-25 03:03:14 +00:00
2006-06-21 20:56:37 +00:00
2006-08-21 22:07:30 +00:00
2003-07-28 04:18:23 +00:00
2006-01-25 03:03:14 +00:00
2002-01-25 13:06:24 -05:00
2006-01-25 03:03:14 +00:00
2006-01-25 03:03:14 +00:00
2003-07-28 04:18:23 +00:00
2004-08-17 00:06:46 +01:00
2006-01-25 03:03:14 +00:00
2004-08-14 00:05:36 +01:00
2006-01-25 03:03:14 +00:00
2006-01-25 03:13:18 +00:00