ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41603] - external jython classes are not thread-safe
Date Wed, 14 Feb 2007 14:28:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41603





------- Additional Comments From josborne@exstream.com  2007-02-14 06:28 -------
also consider the following script.  It prints a seemingly random number of 
'test' lines each time and occasionally errors out altogether:


<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="unix-build-all" name="comp-all">

  <target name="unix-build-all">
    <parallel failonany='false'>
      <threadtest></threadtest>
      <threadtest></threadtest>
      <threadtest></threadtest>
      <threadtest></threadtest>
    </parallel>
  </target>

  <scriptdef name="threadtest" language="jython">
       <attribute name="key"/>
<![CDATA[
from threadtest import *

test = threadtester()
test.list.append("test")
project.log("Beginning thread test...")
for i in test.list:
  project.log(i)
project.log("Ending thread test.\n\n")

]]>
  </scriptdef>

</project>


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message