* configure.in: Rename THREADLIB to THREADLIBS. * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This ensures that we link the correct version of the linuxthreads semaphore functions. * Makefile.in: Rebuilt. * configure: Rebuilt. * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the list of signals which are not blocked during suspend in the NO_SIGNALS case. For libjava: * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that the correct versions of various linuxthreads functions get linked. * Makefile.in: Rebuilt. * java/lang/natThread.cc (finalize_native): New static function. Call _Jv_ThreadDestroyData. (initialize_native): Register finalizer for "data". * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype. (_Jv_ThreadDestroyData): New prototype. * include/win32-threads.h: Ditto. * include/no-threads.h: Ditto. * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): New function. Free native thread "data" and move mutex and condition variable destroy code from: (really_start): ...here. (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED. * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): Implemented. * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t". (_Jv_AllocArray): Ditto. From-SVN: r38557
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... | |
default-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... | |
jni.h | Loading commit data... | |
jvm.h | Loading commit data... | |
jvmpi.h | Loading commit data... | |
name-finder.h | Loading commit data... | |
no-gc.h | Loading commit data... | |
no-threads.h | Loading commit data... | |
posix-threads.h | Loading commit data... | |
posix.h | Loading commit data... | |
ppc-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... |