-threaded

Simon Marlow simonmar at microsoft.com
Fri Jul 7 06:50:33 EDT 2006


On 07 July 2006 11:46, Christian Maeder wrote:

> Simon Marlow schrieb:
>> The reason we added it to the compiler was so that you could use
>> programs that require -threaded under GHCi.  Without it, these
>> programs cannot be used with GHCi.
> 
> Surely, running user programs is different from just compiling.

GHC and GHCi are the same binary.

>> Without -threaded, all FFI calls block the other threads in the
>> program, and this makes it impossible to do lots of things.
> 
> Obviously, I only want that (my old) sequentiell things are done as
> reliable (one at a time) as before.

And they will be - the threaded RTS only affects FFI calls on
multithreaded programs.

>> What version of glibc are you using on Linux?
> 
> glibc-devel-2.3.4-23.4
> glibc-locale-2.3.4-23.4
> glibc-info-2.3.4-23.4
> glibc-html-2.3.4-23
> glibc-2.3.4-23.4
> glibc-i18ndata-2.3.4-23.4

I guess that isn't it, I have 2.3.2 here.

Cheers,
	Simon



More information about the Glasgow-haskell-users mailing list