Thibaut Barrère
2010-Jan-25 17:05 UTC
[Ironruby-core] Plans for Kernel.fork (even a stub) ?
Hi, just curious as I''m going to patch an existing MRI lib around that and willing to ensure IronRuby support is baked in. What are the plans around Kernel.fork ? It looks like the method is not currently available (I''m going to check for this method existence in my case) Based on some code I read, I think Kernel.fork could just raise a NonImplementedError. what do you think ? -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100125/016a081b/attachment.html>
I think we should match MRI''s error. JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barr?re Sent: Monday, January 25, 2010 9:05 AM To: ironruby-core Subject: [Ironruby-core] Plans for Kernel.fork (even a stub) ? Hi, just curious as I''m going to patch an existing MRI lib around that and willing to ensure IronRuby support is baked in. What are the plans around Kernel.fork ? It looks like the method is not currently available (I''m going to check for this method existence in my case) Based on some code I read, I think Kernel.fork could just raise a NonImplementedError. what do you think ? -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100125/f9644e55/attachment.html>
Thibaut Barrère
2010-Jan-25 17:26 UTC
[Ironruby-core] Plans for Kernel.fork (even a stub) ?
> > I think we should match MRI?s error. >Just tested - it looks like MRI raises NotImplementedError on Windows (just like in the code I was reading expected it to). Should I create an issue for this to get tracking ? (Nothing urgent in my case, I''ll patch the code to check Kernel.methods.include?(''fork'')) -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100125/9db3c4da/attachment.html>
Thibaut Barrère
2010-Jan-25 17:33 UTC
[Ironruby-core] Plans for Kernel.fork (even a stub) ?
> > I think we should match MRI?s error. >> > Just tested - it looks like MRI raises NotImplementedError on Windows (just > like in the code I was reading expected it to). >Meanwhile here is a patch that works in my situation: http://gist.github.com/286052 I guess Mono would probably behave differently :) -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100125/085a8c14/attachment.html>