🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7184

Re: Children and message ports

#7184
From: Non-Communist
Date: Mon, 03 Dec 1990 04:13
8 lines
943 bytes
peter@dbaccess.com (Peter A. Castro) writes:
>    Yes, you did.  The CreateProc() function returns a Process structure
>    pointer.  You must extract the MsgPort out of this structure and use
>    it in your call : PutMsg(procid->pr_MsgPort,msg).

  Nope, as documented in The AmigaDOS Manual, CreateProc() returns a process
identifier, which is DOS-speak for a MsgPort pointer.  And pr_MsgPort is a
structure, not a pointer as required by PutMsg().
Technical Details
Message-ID: <819@pdxgate.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!pdxgate!eecs.cs.pdx.edu!bartonr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!pdxgate!eecs.cs.pdx.edu!bartonr
From: bartonr@eecs.cs.pdx.edu (Non-Communist)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Children and message ports
Message-ID: <819@pdxgate.UUCP>
Date: 3 Dec 90 04:13:47 GMT
Sender: news@pdxgate.UUCP
Reply-To: bartonr@eecs.cs.pdx.edu (Non-Communist)
Organization: Portland State University, Portland, OR
Lines: 8