Article View: comp.sys.amiga.tech
Article #7581Re: Asynchronous I/O, Packet Interface (Need Help)
From: Matt Crowd
Date: Wed, 19 Dec 1990 09:51
Date: Wed, 19 Dec 1990 09:51
27 lines
1707 bytes
1707 bytes
In article <16649@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes:
>In article <126865@linus.mitre.org> duncant@mbunix.mitre.org (Thomson) writes:
>> /* Initialize the Message structure within the StandardPacket structure */
>> std_pkt->sp_Msg.mn_Node.ln_Name = (char *) &(std_pkt->sp_Pkt);
>> std_pkt->sp_Msg.mn_Node.ln_Type = NT_MESSAGE;
>> std_pkt->sp_Msg.mn_ReplyPort = reply_port;
>> std_pkt->sp_Msg.mn_Length = sizeof( struct DosPacket );
>
> OK. Strictly speaking, the NT_MESSAGE and sizeof(struct DosPacket)
^^^^^^^^^^^^^^^^^^^^^^
>aren't needed (actually replyport isn't either).
Does this imply we are never going to get memory protection!
I think so. Please guys, don't give up yet. There is still time
to convince people to say how long their messages are, and not to
use pointers in them!
>Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
[nice .sig deleted]
nb. I have never done any message port programming between tasks, so
I'm no real expert, just read the book once.
--
Matt Crowd Amiga Man
Email Address glmwc@marlin.jcu.edu.au
Technical Details
Message-ID:
<1990Dec19.095156.3795@marlin.jcu.edu.au>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!glmwcReferences:
<126865@linus.mitre.org> <16649@cbmvax.commodore.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!glmwc From: glmwc@marlin.jcu.edu.au (Matt Crowd) Newsgroups: comp.sys.amiga.tech Subject: Re: Asynchronous I/O, Packet Interface (Need Help) Message-ID: <1990Dec19.095156.3795@marlin.jcu.edu.au> Date: 19 Dec 90 09:51:56 GMT References: <126865@linus.mitre.org> <16649@cbmvax.commodore.com> Organization: James Cook University of North Queensland Lines: 27