🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Strange Crashes and SDB

#9639
From: Matt Dillon
Date: Tue, 30 Aug 1988 19:33
23 lines
1103 bytes
:PutMsg(loaderport,hellomessage);
:WaitPort(myport);                <- here is where it crashes
:reply = GetMsg(myport);
:
:Any suggestions?  
:
:	Thanks..
:		John Feiler

	Well, it isn't enough of a fragment to tell you what is wrong.

	loaderport must be a pointer to a port, obviously.   Same goes for
	myport.  hellomessage must be a pointer to a message.  hellomessage
	must have mn_ReplyPort set to myport if you intend for it to come
	back to myport.

	myport must be properly initialized.... ln_Type = NT_PORT, mp_SigBit =
	signal number, mp_Flags = PA_SIGNAL, mp_SigTask = FindTask(NULL), and
	the port's list properly initialized:  NewList(&myport->MsgList).

	Did I miss anything?

					-Matt
Technical Details
Message-ID: <8808301933.AA16947@cory.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!CORY.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!purdue!decwrl!ucbvax!CORY.BERKELEY.EDU!dillon
From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Strange Crashes and SDB
Message-ID: <8808301933.AA16947@cory.Berkeley.EDU>
Date: 30 Aug 88 19:33:14 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 23