> I noticed this switch, but does it do any good? I build a set 
> of libraries
> and a concurrent-application, but it just dead-locked (could 
> be my fault,
> though). Is there any documentation available about ghc & smp?

It's work-in-progress at the moment.  You might be able to get it to work on
small examples - you need to build all the libraries and the RTS for way 's'
(because of the extra locking we need to do for SMP), and then compile
programs with ghc -smp.  

It's only been testing with Linux threads so far, so I don't know whether
other thread implementations will work or not.  There are some problems with
signals and process termination still to resolve.  It has support for 'par'
(advisory threads) as well as forkIO, BTW.

Cheers,
        Simon

Reply via email to