[Mono-devel-list] SIGILL on FreeBSD - resolved

dietmar dietmar at ximian.com
Mon May 19 07:44:44 EDT 2003

On Sun, 2003-05-18 at 18:27, Martin Dvorak wrote:
> One thing I've noticed during debugging. The code uses POSIX setjmp.h
> functions to save/restore context during pinvoke. Is the intended
> behaviour not to save the signal mask or it simply does not matter?

The jit does not use setjmp/longjmp.

> There is a difference in implementation of setjmp/longjmp functions
> between Linux and BSD systems - on Linux setjmp does not save signal
> mask, on FreeBSD setjmp saves signal mask while _setjmp does not. It
> seems logical to me to save signal mask too, but the Linux code does not
> do this, so I thought it's better to bring it to your attention.

And we don't save the signal mask. I think this would slow down the code
and is not really necessary.

- Dietmar

More information about the Mono-devel-list mailing list