Path: utzoo!attcan!uunet!crdgw1!rpi!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!LUKE.EECS.WSU.EDU!hakimian From: hakimian@LUKE.EECS.WSU.EDU Newsgroups: comp.sys.amiga.tech Subject: Children and message ports Message-ID: <9011021641.AA18389@luke.eecs.wsu.edu> Date: 2 Nov 90 16:41:35 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 26 I have created a child process using CreateProc. In the child I call FindTask to find my task (process) pointer. I then wait on my process message port proc = (struct Process *)FindTask(0); port = proc->pr_MsgPort; WaitPort(proc); In the parent I send a message to the child. procid = CreateProc(name,pri,seg,stack); PutMsg(procid,msg); The result, Task held ... The eventual guru is 8700004 (not sure on the # of 0). I think this means bad packet to the dos library. Does it? How did I do that? This code is in a device driver if that makes any difference. I have commented out the PutMsg to see if that was the problem. It is. what is wrong with my PutMsg? Did I miss something? By the way the child task is running. Please reply by email, post, homing pigeon, any way you can! Thanks