Thanks!<div>I will check that example. </div><div><br></div><div>Markus<br clear="all">&quot;The best way to predict the future is to invent it&quot; -- Alan Kay<br>
<br><br><div class="gmail_quote">On Tue, Dec 15, 2009 at 1:50 AM, Jari Bakken <span dir="ltr">&lt;<a href="mailto:jari.bakken@gmail.com">jari.bakken@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Dec 15, 2009 at 1:12 AM, Markus Kohler &lt;<a href="mailto:markus.kohler@gmail.com">markus.kohler@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; Thanks!<br>
&gt; I tried to just spawn threads from jruby but that didn&#39;t really work<br>
&gt; properly.<br>
&gt; What kind of changes where necessary to htmlunit? Isn&#39;t it thread safe?<br>
&gt; Markus<br>
&gt;<br>
<br>
</div>What didn&#39;t work properly? HtmlUnit should be thread-safe as long as<br>
you have one browser instance per thread.<br>
<br>
Here&#39;s a simple example:<br>
<br>
<a href="http://gist.github.com/256610" target="_blank">http://gist.github.com/256610</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
Celerity-users mailing list<br>
<a href="mailto:Celerity-users@rubyforge.org">Celerity-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/celerity-users" target="_blank">http://rubyforge.org/mailman/listinfo/celerity-users</a><br>
</div></div></blockquote></div><br></div>