[M3devel] map SIGBUS to SegV?
Tony Hosking
hosking at cs.purdue.edu
Sun Oct 25 18:51:45 CET 2009
Good question. I'm not sure what the different OSs do. Does anyone
else have an opinion?
On 25 Oct 2009, at 06:49, Jay K wrote:
> I just noticed..it appears that some ports historically catch SIGBUS
> and call SegV, and some don't install a handler for it.
> e.g. it looks like the Darwin platforms do this.
> In my porting of the signal handling code to C, I foisted this
> behavior on all platforms.
> Reasonable?
> Otherwise we could put #ifdef __APPLE__ around SIGBUS in RTSignalC.c.
> I think it is probably ok asis, or maybe even an improvement.
>
> - Jay
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091025/6eaf9133/attachment-0002.html>
More information about the M3devel
mailing list