Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Help with CreateProc() Message-ID: <33367@sun.uucp> Date: Mon, 9-Nov-87 14:34:52 EST Article-I.D.: sun.33367 Posted: Mon Nov 9 14:34:52 1987 Date-Received: Wed, 11-Nov-87 07:21:36 EST References: <4407@pyr.gatech.EDU> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 22 In article <4407@pyr.gatech.EDU> davidc%yak@gatech.edu (Dave Corbin) writes: >Okay. I'm having problems using CreateProc. I've created this small example >that easily demonstrates my problem. The two files, test.c and ldr.c are both >compiled and linked into their own separate runtime modules. (Using Manx 3.4a). > >The Problem: 'test' works just fine. When I execute 'ldr', it completes >normally, but 'test' does not. If I look at the system's list of TASKs, >then I find that there is a new task called TEST that is WAITING. I had a similar problem with Lattice, until I figured out that the C startup code from Lattice thought I had been 'launched' from the workbench and was waiting for the Workbench startup message. A quick edit to customize the .o file fixed it. As for the difference between a Process and a Task, the Process can access dos functions whereas Tasks can't. Also their structures are different as well. Check out the appropriate include files for differences. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.