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
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
boehm-gc configure.in (toolexecdir, [...]): Set and AC_SUBST. 2003-01-28 01:44:37 +00:00
config acx.m4: Name cache variables properly. 2002-12-28 17:57:00 +00:00
contrib test_summary (configflags): Only use the first match. 2003-01-19 14:34:12 +00:00
fastjar Cleaned up ChangeLog snafu 2003-01-25 02:53:04 +00:00
gcc m68k.md (tablejump+2): Don't sign extend an address register. 2003-01-28 14:17:21 -08:00
include hashtab.h (htab_alloc_with_arg, [...]): Add new types. 2003-01-26 07:09:41 +00:00
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 * root.texi: Change version number to 3.4. 2002-12-16 22:18:33 +00:00
zlib ChangeLog file for zlib 2003-01-28 01:48:38 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
ChangeLog configure.in: Revert 24Jan change. 2003-01-27 14:56:12 +00:00
MAINTAINERS MAINTAINERS: Remove incorrect entry for Paul Eggert. 2003-01-24 23:31:41 +00:00
Makefile.def Makefile.in: Rebuilt. 2002-12-31 20:10:53 +00:00
Makefile.in configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS. 2003-01-10 16:41:48 +00:00
Makefile.tpl configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS. 2003-01-10 16:41:48 +00:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
config-ml.in config-ml.in doesn't need to worry about cygnus configure 2002-07-01 19:59:22 +00:00
config.guess config.guess: Update to 2003-01-03 version. 2003-01-08 14:49:26 -08:00
config.if config.if (libstdcxx_incdir): Version C++ headers. 2002-06-27 10:19:53 +00:00
config.sub config.guess: Update to 2003-01-03 version. 2003-01-08 14:49:26 -08:00
configure Rebuilt with autoconf 2.13 2003-01-27 17:22:12 +00:00
configure.in configure.in: Revert 24Jan change. 2003-01-27 14:56:12 +00:00
install-sh * install-sh: Use _inst.$$_ for temp file name. 2002-01-25 18:42:28 -05:00
libtool.m4 libtool.m4 (libtool_flags): Add patch from libtool CVS... 2002-11-20 16:18:53 +01:00
ltcf-c.sh Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:52:03 +00:00
ltcf-gcj.sh Merge basic-improvements-branch to trunk 2002-12-16 18:23:00 +00:00
ltconfig ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
ltmain.sh ltconfig (osf[345]): Append $major to soname_spec. 2002-11-20 15:59:07 +00:00
missing merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs Initial revision 1997-08-21 18:57:35 -04:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
symlink-tree Makefile.in: handle DOS-style absolute paths. 2000-12-09 11:06:19 -05:00
ylwrap ylwrap: Change absolute path checks to check for DOS style path names. 1998-10-08 17:26:54 -06:00

README

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.