tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Translate signal to C++ exception
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I'm stuck with .Net porting to NetBSD, with the need to throw C++
exceptions from a signal handler (SIGSEGV).
I have found similar use-case in gcc/libjava and freebsd (dummy?) code
there. It was abstracted into a segvcatch library (wip/segvcatch).
I'm failing to make it work on NetBSD (release 7.0). This blocks me
from porting dotnet stack.
Thank you in advance,
I'm aware of the danger of this approach, for now I need to make it
just work. I cannot rewrite the dotnet code to use atomics etc.
For now all I need is to make segvcatch work on NetBSD.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXCFxcAAoJEEuzCOmwLnZsHOsP/AjR1pzajcqbCK7kkEoRS0sF
CrSn5QiTkfg96PE1puK6A/erjt6qLvaUjsnuybL87waJEInyj/CP2hLLzSK9XX5w
Pyi3HblWNrcmgqfx0iWVIPBJX193YstBzRLV1zpSWs2trbJbzxZnqEzgCHcpP617
a8aUBn0SUgY+UsJe9ym72uKv2LnuBdHXH0xQYGSDc2EmR6W61TG/ow53mytrAAU/
h+CA9PFBxt9sbh/C404Ru+gaK/ctOkV96NufGE7cywWrFZvghWAbznIw9wozM875
21NtQsQZuJ2Vt1rOrzfmjH+F2jp8xkNf+MGDEyUuPqLM6JQYL+NXW1F6NEn3G4vJ
AxsKXm6txoi8WDiqDc0eaBGeaxH+II8zr1EMKMRgorzY9HpxNi0p7WlzUy8iHNil
S0HCc/I6hIWp71LBtrSJufddS2zE4Cbyb2+NxipoamPIkAmD4P33g54Df5HFUczN
7y1cbmP0hyb0+DpIRC9JJLJtXHpu1SIa5PXp+Mna5CuI17nemWjJifeF6PsKS8ny
IUCfwihBNe4BwWJM6QS7LyOQTj3VywEM3kK2eaKzpAhVSFQGKSefGweqoY564mpN
AXwZfGKGhbCLxz4PX+0d6898sw5ME1sx+Ys8cawseXmBFuJ6rADtoL9GqJR7Vgw8
RfiHfENo8hdrrbsL3+qr
=yB8H
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index