Thread-Safety through FFI

2001-10-23 Thread Ashley Yakeley
Is there a way of calling exported 'dynamic export' functions in a thread-safe manner? I have this problem in JVM-Bridge... This is what the main thread does, from Haskell: 1. starts the Java VM, which starts a bunch of other threads, including the AWT thread; 2. creates a pointer to a some IO

Unistall warning... again!

2001-10-23 Thread Andre W B Furtado
Now things really got worse... when I try to use GHC-4.08.1, I got the following message: ghc: permission denied ghc: not found make[1]: *** [depend] Error 127 How can I use the old GHC-4.08.1 back again? I have some APIs that still need it... Thanks, -- Andre

Uninstall warning...

2001-10-23 Thread Andre W B Furtado
I had GHC-4.08.1 installed in my computer (which runs under a Windows98 platform), and then I decided to install GHC-5.00.2 (this was its latest version at that time). It is said that GHC-5.00.2 can co-exist with other versions of GHC under a Windows platform, because it does not use cygwin anymor

RE: Working character by character in Haskell

2001-10-23 Thread Simon Marlow
> "Simon Marlow" <[EMAIL PROTECTED]> writes: > > To really match the C program, you need to use IOExts.hGetBuf and > > IOExts.hPutBuf, and do the operations on raw characters in memory. > > Using a UArray of Word8 would be better, but there aren't any > > operations to do IO to/from a UArray yet (

Re: [nhc-bugs] confhc does not recognize ghc 5.*

2001-10-23 Thread José Romildo Malaquias
On Tue, Oct 23, 2001 at 10:53:29AM +0100, Malcolm Wallace wrote: > Mieszko Lis <[EMAIL PROTECTED]> writes: > > i ran into a compiler-detection bug in building nhc98 (the 1.10 tarball, > > but the same bug seems to be in cvs and earlier versions): the build > > process fails to detect the default

[nhc-bugs] confhc does not recognize ghc 5.*

2001-10-23 Thread Malcolm Wallace
Mieszko Lis <[EMAIL PROTECTED]> writes: > i ran into a compiler-detection bug in building nhc98 (the 1.10 tarball, > but the same bug seems to be in cvs and earlier versions): the build > process fails to detect the default ghc 5.02 installation on my debian > linux machine as well as the ghc 5