Yeah, SAFE_HEAP mode is still here, and in fact today I landed a pull that
makes it much faster. Still a big slowdown though, but it does allow you to
catch memory access violations and in general run arbitrary code on each
memory access.

On Mon, Sep 14, 2015 at 7:16 PM, Bruce Mitchener <[email protected]>
wrote:

> It isn't without a massive slow down (and maybe not even with that, do the
> safe heap modes still work?).
>
>  - Bruce
>
>
> On Tue, Sep 15, 2015 at 9:13 AM, awt <[email protected]> wrote:
>
>> Thanks Alon. I was actually trying to emulate Window's Structured
>> Exception Handling with signals and my implementation requires the use of
>> signals. Other than signals, do you know if its actually possible to catch
>> any memory access violation in Emscripten, perhaps at the Javascript level?
>>
>> On Tuesday, September 15, 2015 at 1:51:40 AM UTC+8, Alon Zakai wrote:
>>>
>>> We don't have signals support (although we might get it eventually with
>>> threads), so the signal versions of setjmp/longjmp are not supported.
>>> However, regular setjmp/longjmp do work.
>>>
>>> On Mon, Sep 14, 2015 at 2:56 AM, awt <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I was trying to compile a piece of code with the sigsetjmp and
>>>> siglongjmp functions and observed the 'warning: unresolved symbol:' error
>>>> for both of them. Can I check if these two functions are implemented in
>>>> Emscripten?
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "emscripten-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to