WinHugs, stack overflow support

Neil Mitchell ndmitchell at gmail.com
Tue Sep 6 08:38:43 EDT 2005


Hi,

Under WinHugs, the evaluation is spawned in a separate thread. This
means that the stack overflow trapping code in hugs.c is in the wrong
thread and it results in a crash on stack overflow. This patch adds it
to the thread, so it nicely gives an error message and lets you
resume.

Thanks

Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack-overflow.patch
Type: application/octet-stream
Size: 4496 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20050906/54f58151/stack-overflow.obj


More information about the Cvs-hugs mailing list