Commit 996206b1 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files


Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <>
parent 997a4885
......@@ -502,7 +502,7 @@ threadStackOverflow (Capability *cap, StgTSO *tso)
if (tso->tot_stack_size >= RtsFlags.GcFlags.maxStkSize
&& !(tso->flags & TSO_BLOCKEX)) {
// NB. never raise a StackOverflow exception if the thread is
// inside Control.Exceptino.block. It is impractical to protect
// inside Control.Exception.mask. It is impractical to protect
// against stack overflow exceptions, since virtually anything
// can raise one (even 'catch'), so this is the only sensible
// thing to do here. See bug #767.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment