Yup that was a deadlock scenario, thanks for fixing it. Ara.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Konstantin Pribluda > Sent: Sunday, February 24, 2002 9:50 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] CVS update: xjavadoc/src/xjavadoc XJavaDoc.java > > User: ko5tik > Date: 02/02/24 10:19:30 > > Modified: src/xjavadoc XJavaDoc.java > Log: > resolved deadlok. acquire lock on source class before starting > parser. > > Revision Changes Path > 1.16 +655 -654 xjavadoc/src/xjavadoc/XJavaDoc.java > > Index: XJavaDoc.java > =================================================================== > RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/XJavaDoc.java,v > retrieving revision 1.15 > retrieving revision 1.16 > diff -u -w -r1.15 -r1.16 > --- XJavaDoc.java 24 Feb 2002 04:38:56 -0000 1.15 > +++ XJavaDoc.java 24 Feb 2002 18:19:30 -0000 1.16 > @@ -291,10 +291,11 @@ > SourceClass sourceClass = new SourceClass(null, qualifiedName, > f); > > ParseThread parseThread = new ParseThread(sourceClass); > - parseThread.start(); > // We must wait here until the first part of the parsing is > done. > // we'll be notified by the parser when it's done > synchronized (sourceClass.getParseLock()) { > + parseThread.start(); > + > try { > sourceClass.getParseLock().wait(); > } catch (InterruptedException e) { > > > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
