This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/1481: PR libgcj/98
- To: joerg dot brunsmann at fernuni-hagen dot de
- Subject: java/1481: PR libgcj/98
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 11 Nov 1999 10:35:51 -0700
- Cc: Java Gnats Server <java-gnats at sourceware dot cygnus dot com>
- Reply-To: tromey at cygnus dot com
>Number: 1481
>Category: java
>Synopsis: PR libgcj/98
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: green
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Dec 20 12:20:39 PST 2000
>Closed-Date: Fri Nov 12 08:48:26 PST 1999
>Last-Modified: Fri Nov 12 08:50:00 PST 1999
>Originator:
>Release:
>Organization:
>Environment:
>Description:
Hi. Try this patch. If it works, tell me and I will check it in.
Tom
Index: posix-threads.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/posix-threads.cc,v
retrieving revision 1.13
diff -u -r1.13 posix-threads.cc
--- posix-threads.cc 1999/11/04 16:45:11 1.13
+++ posix-threads.cc 1999/11/11 17:19:10
@@ -165,7 +165,10 @@
val = &attr;
#endif
- pthread_mutex_init (mu, val);
+ pthread_mutex_init (_Jv_PthreadGetMutex (mu), val);
+#ifdef PTHREAD_MUTEX_IS_STRUCT
+ mu->count = 0;
+#endif
#if defined (HAVE_PTHREAD_MUTEXATTR_SETTYPE) || defined (HAVE_PTHREAD_MUTEXATTR_SETKIND_NP)
pthread_mutexattr_destroy (&attr);
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/99
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Nov 12 08:48:26 1999
State-Changed-Why:
Bogus PR I created by mistake.
From: tromey@cygnus.com
To: green@cygnus.com, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/99
Date: 12 Nov 1999 16:48:26 -0000
Synopsis: PR libgcj/98
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Fri Nov 12 08:48:26 1999
State-Changed-Why:
Bogus PR I created by mistake.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=99
>Unformatted: