Re: mach in signal handler
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 2, 2007, at 11:28 PM, Cyrus Harmon wrote: = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Feb 1, 2007, at 10:04 PM, Terry Lambert wrote: A good example would be "malloc": it's always wrong to allocate or free memory in a signal handler. Hmm... I suppose if malloc is off limits, you're probably going to tell me I can't call vm_allocate either. damn. Actually, you can probably get away with that. There are possibilities for deadlock in low memory situations, but they are systemic and nothing works well when you can't provide physical pages in a timely fashion, so you would have good company. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith