[jhc] Threading and atoms.
John Meacham
john at repetae.net
Fri Feb 22 16:45:53 EST 2008
On Fri, Feb 22, 2008 at 10:33:07PM +0100, Lemmih wrote:
> When I use -threaded and -N2 in jhc, atoms fail in spectacular ways.
> So far I've seen:
> >>> internal error:
> fullCheck': Instance at .iJhc.Monad.return.Jhc.Prim.IO x6598
> Strong': ? x6598
> Cannot strong:
> (?, [x6598])
This is the RULES thing I was telling you about earlier. you need to
compile -fno-rules for now or unpull my recent patches. (expect things to be slow without rules)
> and:
> stringlib: error alocating memory
>
>
> Are atoms in some way not thread-safe enough?
and you need to #define USE_THREADS to 1 in
StringTable/StringTable_cbits.c
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the jhc
mailing list