Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signals??



On Sunday, June 22, 2003, at 3:04 PM, Andreas Tobler wrote:
It's a NullPointerException. Nobody cares about since it is not part of the actual gcc for apple. But I'd like to make it so!

Address zero is actually part of the processes address space, it's just protected. So, SIGBUS would be expected.

Also, who can I contact to get some more details about kernel internas?

Check out the Darwin/Mac OS X documentation pages on Apple's developer web site. Also, "Use the source [luke]." The Mach "manpages" are in the xnu source tree. And this list is a valuable resource [check the archives early and often].

Besides these resources, there is an out-of-print Mach book [Boykin, et al] you might be able to get your hands on as well.

My work is going there to have an alternative to the sun's java with gnu java. And therefore I should implement some mechanics to handle SIGNALS in gnu java.

This might be one of the few appropriate uses of catching Mach exceptions directly (I believe Apple's adaptation of Sun's JVM does that as well). Those Mach exception APIs are considered SPIs in Mac OS X (so you're giving up some level of compatibility by doing it), but it often makes for a much better mechanism for dealing with these particular kinds of issues in a virtual machine environment.

--Jim
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >signals?? (From: Andreas Tobler <email@hidden>)
 >Re: signals?? (From: Matt Watson <email@hidden>)
 >Re: signals?? (From: Andreas Tobler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.