[Haskell-cafe] SIGVTALRM and Unbound threads

Albert Y. C. Lai trebla at vex.net
Fri Sep 26 16:40:00 UTC 2014


On 14-09-25 06:51 PM, Lane Seppala wrote:
> Hmm. Using your experiment, I didn't see any differing behavior from my
> original example (both GHC 7.6.3 and 7.8.3). What should I have expected?

You should revise your theory.

Hypothesis: C sleep in a bound thread quits prematurely.

Experiment: Put C sleep in a bound thread, just not main's.

Result: this C sleep in this bound thread does not quit prematurely.

What does this tell us about the hypothesis?

I'm doing the scientific method.



More information about the Haskell-Cafe mailing list