From: Jeremy Henty Date: 2002-12-14T21:54:57+09:00 Subject: Re: Ruby BUG when using PStore and fork In article <1039771961.918542.10979.nullmailer@picachu.netlab.jp>, Yukihiro Matsumoto wrote: > Update: PStore does not work well with fork, because "throw" does > not work with fork. So is this a bug or a feature? It is certainly alarming that you can get a BUG message with a few lines of pure Ruby. And why does the child lose the ability to throw? > Can you fork before starting transaction? I can't fork the browser beforehand because the pstore holds the list of URLs. But I realised I could prefork a browser-spawning process with IO.popen("-","w") and send it URLs from the parent. Now the browsers don't get the lock and it works very nicely. Thanks Jeremy Henty