<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Can you give more information on where it dies? I've run mechanize successfully with multiple threads but I did have to work some kinks out, mostly with database access.<br><br>Matt White<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Carl Lerche <carl.lerche@gmail.com><br>To: mechanize-users@rubyforge.org<br>Sent: Friday, July 27, 2007 12:43:07 AM<br>Subject: [Mechanize-users] Is mechanize thread safe?<br><br><div>Hello all,<br><br>I was just wondering if anybody knew whether mechanize is supposed to<br>be thread-safe or not? I didn't really find any information about it<br>anywhere. I've been getting a strange error in protocol.rb
when I run<br>a script that uses mechanize in a multi threaded fashion, but not with<br>a single thread.<br><br>I'm trying to write a spider that does multiple gets in parallel, but<br>it keeps puking when I thread it.<br><br>Thanks,<br>-carl<br><br>-- <br>EPA Rating: 3000 Lines of Code / Gallon (of coffee)<br>_______________________________________________<br>Mechanize-users mailing list<br>Mechanize-users@rubyforge.org<br><a target="_blank" href="http://rubyforge.org/mailman/listinfo/mechanize-users">http://rubyforge.org/mailman/listinfo/mechanize-users</a><br></div></div><br></div></div><br>
<hr size=1><a href="http://us.rd.yahoo.com/evt=48226/*http://new.toolbar.yahoo.com/toolbar/features/norton/index.php">Get the free Yahoo! toolbar</a> and rest assured with the added security of spyware protection.
</body></html>