Re: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Vyacheslav Akhmechet
Thanks guys! I'll try the streams library and see what happens. Bulat: спасибо! ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re[2]: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Bulat Ziganshin
Hello Donald, Sunday, October 22, 2006, 9:04:02 AM, you wrote: can't you define this call as 'safe'? But is it safe. Hmm I get kind of queasy when mucking about in the rts. i don't understand you (because of my weak English). 'safe' specifier is just says that function should be called

getting the -B topdir for a GHC-API app

2006-10-22 Thread Mathew Mills
What is the right way to get the topDir for use with the GHC API. I have a little app that I would like to cabalize and release, but I am not sure what is the approved way of getting the '-B' option set-up. I think it would be great if I could use template-haskell to insert the topDir

Re: getting the -B topdir for a GHC-API app

2006-10-22 Thread Lemmih
On 10/22/06, Mathew Mills [EMAIL PROTECTED] wrote: What is the right way to get the topDir for use with the GHC API. I have a little app that I would like to cabalize and release, but I am not sure what is the approved way of getting the '-B' option set-up. I think it would be great if I could

Re: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Donald Bruce Stewart
bulat.ziganshin: Hello Donald, Sunday, October 22, 2006, 9:04:02 AM, you wrote: can't you define this call as 'safe'? But is it safe. Hmm I get kind of queasy when mucking about in the rts. i don't understand you (because of my weak English). 'safe' specifier is just says

Re: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Vyacheslav Akhmechet
Bulat: I didn't get the chance to use the streams library yet, but could you explain how it would solve my locking problem? The core problem that the runtime under Win32 doesn't have an IO manager still remains, correct? Is anyone looking to fix this issue? If not, how hard would it be for me to

Re: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Vyacheslav Akhmechet
Also, what would it take for me to fix the GHCi crash on Win32 when a plugin is being loaded? I figured I'll ask before blindly jumping into the code :) ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: Concurrency issue with dynamic linker in GHC

2006-10-22 Thread Donald Bruce Stewart
coffeemug: Also, what would it take for me to fix the GHCi crash on Win32 when a plugin is being loaded? I figured I'll ask before blindly jumping into the code :) You need to find the win32 equivalent of the ELF-specific code that ignores requests to load a module multipe times, rather than