Go to file
Ranjit Mathew 65b8e87409 re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes)
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>

	Fixes PR java/9254:
	* include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
	additionally containing id of the owner thread as well as
	the number of nested times the thread has acquired the mutex.
	(_Jv_MutexInit): Initialise owner thread id and refcount to 0.
	(_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
	(_Jv_MutexUnlock): Check if really the owner thread, reset
	owner thread id to 0 before leaving, if leaving for the last
	time.
	(_Jv_MutexLock): Set owner thread id in the mutex and increment
	refcount.
	(_Jv_ThreadYield): Yield using a call to Sleep(0).
	* win32-threads.cc (_Jv_CondWait): Check if really owner of
	the passed mutex.
	Pass handle of the broadcast event, instead of a pointer to it
	in Win32 ResetEvent( ) call.
	Remove incorrect return values.
	(_Jv_CondDestroy): Close both event handles and delete
	critical section.
	(_Jv_CondNotify): Check if really the owner thread.
	(_Jv_CondNotifyAll): Check if really the owner thread.
	(_Jv_InitThreads): Change daemon_cond to a manual-reset event.
	(really_start): Use SetEvent( ) to signal daemon_cond.
	(_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
	WaitForSingleObject( ) instead to wait for daemon_cond to be
	signalled.

From-SVN: r62033
2003-01-28 22:23:36 +00:00
boehm-gc configure.in (toolexecdir, [...]): Set and AC_SUBST. 2003-01-28 01:44:37 +00:00
config
contrib
fastjar
gcc m68k.md (tablejump+2): Don't sign extend an address register. 2003-01-28 14:17:21 -08:00
include
INSTALL
libf2c Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir. 2003-01-28 01:44:38 +00:00
libffi ffi.h.in: Enable FFI_CLOSURES for x86_64. 2003-01-28 15:54:28 +00:00
libiberty * Makefile.in (all-subdir, check-subdir, installcheck-subdir) 2003-01-28 21:52:14 +00:00
libjava re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes) 2003-01-28 22:23:36 +00:00
libobjc aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)... 2003-01-28 01:48:33 +00:00
libstdc++-v3 re PR c++/9433 (SegFault in dynamic_cast) 2003-01-28 15:26:53 +00:00
maintainer-scripts
zlib ChangeLog file for zlib 2003-01-28 01:48:38 +00:00
.cvsignore
ChangeLog
config-ml.in
config.guess
config.if
config.sub
configure
configure.in
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.