Article View: comp.os.mach
Article #1238errors in msg_receive
From: Richard.Draves
Date: Tue, 26 Dec 1989 18:58
Date: Tue, 26 Dec 1989 18:58
18 lines
1394 bytes
1394 bytes
I'm trying to figure out what is the best course of action when an error occurs during a msg_receive. There are basically two sorts of possible errors. First, there might be a kernel resource shortage. When the kernel tries to move some port rights from the message to the receiving task, or move some out-of-line memory into the receiver's address space, it could find itself unable to allocate a necessary data structure. Mach doesn't have resource quotas on the VM or IPC data structures, but if it did, exceeding them would cause a similar situation. Second, there might be a more abstract resource problem. The receiver's address space might not have room for the out-of-line memory (quite possible for some applications), or there might not be an available name for a new port right (not bloody likely). I would like to hear from writers of serious, robust applications what kind of error recovery they would find useful. Thanks, Rich
Technical Details
Message-ID:
<gZZvxMS00hYP4jdF8T@cs.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!<UNAUTHENTICATED>+Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!<UNAUTHENTICATED>+ From: Richard.Draves@CS.CMU.EDU Newsgroups: comp.os.mach,comp.sys.next Subject: errors in msg_receive Message-ID: <gZZvxMS00hYP4jdF8T@cs.cmu.edu> Date: 26 Dec 89 18:58:32 GMT Sender: rpd@M.GP.CS.CMU.EDU Organization: Carnegie Mellon, Pittsburgh, PA Lines: 18