Charles Hayden
2011-Jan-06 01:22 UTC
[Ironruby-core] interfacing with the Asynchronous Programming Model
I am thinking about using about using Ruby in conjunction with the APM. I want to transition from a C# program written using the BeginXXX/EndXXX paradigm to execute the asynchronous part in a ruby script host. I would need to be able to run many threads over the same script, to have it return when waiting rather than hold onto the thread, and to be able to resume on a different thread than it had been running originally. Note: I do not want to use the Iron Ruby thread, which maps to a .NET thread, but to use the ability to suspend and later resume a computation to execute many kinds of activities on a single thread, or on a set of threads in the thread pool. Is this going to be possible, given the limitations of Iron Ruby? Is is bad idea for some other reason?
Sick Boy
2011-Jan-06 15:56 UTC
[Ironruby-core] interfacing with the Asynchronous Programming Model
Hi, You can find the ir app.config included in the IronLanguages repository, iirc Bin/Debughttps://github.com/IronLanguages/main Personally I''ve found that no matter what you put in there at least for LibraryPaths / StdLib settings,if you have IronRuby installed it will not take your settings. For the paths im setting them from inside the C# app. Hope this helps. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110106/0732b9db/attachment.html>
Hi, You can find the ir app.config included in the IronLanguages repository, iirc Bin/Debughttps://github.com/IronLanguages/main Personally I''ve found that no matter what you put in there at least for LibraryPaths / StdLib settings,if you have IronRuby installed it will not take your settings. For the paths im setting them from inside the C# app. Hope this helps. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20110106/63c2b172/attachment.html>