home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!avalon.physik.unizh.ch!matija
- From: matija@avalon.physik.unizh.ch (Matija Milostnik)
- Subject: Re: Why doesn't Amiga core-dump? *sigh*
- Message-ID: <1992Nov19.084052.12588@ifi.unizh.ch>
- Summary: Message passing and MP
- Keywords: MP, exec messages
- Sender: news@ifi.unizh.ch (USENET News Admin)
- Nntp-Posting-Host: avalon
- Organization: Informatik Club d. Universitaet, Zuerich
- References: <92323.003545BGT101@psuvm.psu.edu> <1992Nov18.133139.21744@ifi.unizh.ch> <92323.182614BGT101@psuvm.psu.edu>
- Date: Thu, 19 Nov 1992 08:40:52 GMT
- Lines: 34
-
- >In article <92323.182614BGT101@psuvm.psu.edu> Blaise Tarr <BGT101@psuvm.psu.edu> writes:
- [..]
-
- >Never say never :-). On page 456 of the 2.0 RKRM under a description of
- >[..]
- >Anyways, message passing isn't necessarily an impossible obstacle to overcome
- >on the road to memory protection. When a message is passed (or rather a
- >pointer to the message), the area with the message essentially belongs to
- ^^^^^^^^^^^^^^^^^^^^^
- which area?
- >the process receiving the message. The MMU tables can be modified so the
- >receiving process has access to the message until it has sent a ReplyMsg().
-
- This is only _half_ of the problem.
-
- The message is only a grant to use some memory. The owner of the
- memory tells you with the message "Hi, I have some memory at this location,
- go ahead, you can use it. I will not do anything on this memory as long
- as you dont send me a reply'. Usually this area is bounded with the message
- BUT IT MUST NOT. In the message you could have a pointer to any memory
- location you own. This situation CANT be protected, cause the system doesnt
- know about it.
- Replying to a message is telling the programm 'Hi, I ve looked at your memory
- and found what I was looking for. Now I dont need it anymore. You are now
- back the only owner of your memory and do whatever you want'
-
- > /// Blaise Tarr
-
-
- --
- Best regards from Matija Milostinik : matija@avalon.ifi.unizh.ch
- : matija@amiga.physik.unizh.ch
- Therefore, use local labels in the procedures as often as possible.
- Save the environment! Recycle! ;-) (Bjoern Reese)
-