Evaluation-orthogonal serialisation of Haskell data, as a library
Go to file
Jost Berthold 464cb03fa2 Block/retry if a blackhole is met during packing
If packing hits a blackhole, the packing thread should block
and retry, to get consistent behaviour at the Haskell level.
To enable this from Haskell, the core routine now checks and
evaluates the blackhole before retrying (i.e. blocks on the
known-to-be-blackholed data).

As the blackhole is not necessarily (and most likely not) the
graphroot, the C code writes its address into the buffer at
position 0. This is OK since packing fails anyway, so the buffer
won't hold any useful data.
2014-09-06 20:34:17 +02:00
cbits Block/retry if a blackhole is met during packing 2014-09-06 20:34:17 +02:00
GHC Block/retry if a blackhole is met during packing 2014-09-06 20:34:17 +02:00
Test Block/retry if a blackhole is met during packing 2014-09-06 20:34:17 +02:00
.gitignore Extended test program (NOT WORKING AT THE MOMENT) 2014-07-26 20:48:27 +02:00
LICENSE packaging: License file, Setup.hs, cabal file modifications 2014-08-28 15:53:46 +02:00
pack.old Some adjustments, towards more robust version 2014-07-24 20:35:52 +02:00
packman.cabal run mthread test on four cores 2014-09-06 20:15:42 +02:00
Setup.hs packaging: License file, Setup.hs, cabal file modifications 2014-08-28 15:53:46 +02:00