Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!cbmvax!andy
From: andy@cbmvax.cbm.UUCP (Andy Finkel)
Newsgroups: comp.sys.amiga
Subject: Re: MANX bugs with Tasking
Message-ID: <1149@cbmvax.cbmvax.cbm.UUCP>
Date: Thu, 18-Dec-86 22:21:39 EST
Article-I.D.: cbmvax.1149
Posted: Thu Dec 18 22:21:39 1986
Date-Received: Fri, 19-Dec-86 07:09:23 EST
References: <2226@bacall.UUCP> <865@ulowell.UUCP> <1146@cbmvax.cbmvax.cbm.UUCP>
Reply-To: andy@cbmvax.UUCP (Andy Finkel)
Organization: Commodore Technology, West Chester, PA
Lines: 63

In article <1146@cbmvax.cbmvax.cbm.UUCP> higgin@cbmvax.UUCP (Paul Higginbottom GUEST) writes:
>In article <2226@bacall.UUCP> papa@bacall.UUCP (Marco Papa) writes:
>>Has anybody gotten tasking to work with MANX? All examples from C-A, that work
>>with Lattice, crash the Amiga with MANX... initask.c and tasking.c from the 
>>Amiga Developer's Newsletter...task creation with MANX, please let me know.  
>>Note that all tasking examples that I have crash with ALL versions of 
>>MANX (3.20a through 3.30e).
>>-- Marco Papa

>Ok - the problem is almost certainly due to a4 not being initialized
>correctly.  I have only tried a little on tasks, and gave up in
>frustration, and tried Processes which are trivial (LoadSeg, CreateProc,
>send 'em a dummy workbench message to kick them into life... voila).
>
>We must work together to lick this problem!  It's as if NO-ONE at
>Commodore-Amiga has ever written something that starts up a task!

Ahem.  I can fire up tasks quite well, under either Lattice or
Greenhills.  

>This of course is impossible (one would think!) because Exec WAS
>written by Amiga.  However, note - the WorkBench doesn't multi-task!
>Why should I have to WAAAIIIIITT while it loads a directory?  Surely a
>task should get fired up to do that while I can do say an Info on another
>icon, or format a disk or whatever, but noooo.

While the workbench doesn't use multitasking, it does allow it. For example,
you can bring up a directory while a format is going on.

There are reasons to view certain operations as atomic.  Sometimes
it doesn't make sense to fire off subtasks within a program.
Sometimes it does.  But workbench doesn't forbid multitasking.

>I'd give a lot for two things ---- decent BCPL 
I understand MetaCompCo is coming out with their BCPL compiler
on the Amiga.  I'm not sure if you'll be happy once you buy it, but...

and tasking documentation
>and EXAMPLES OF WORKING PROGRAMS!  However that might not be sufficient
>either due to the differences in Manx/GreenHills/Lattice.
Right.  Examples can be found on the net, on disks we've given out,
on BIX, and in the Fish collection.  

I guess its going to take someone who understands how the Manx compiler
works to convert them.

>	Sigh,
>		Paul.

	Sigh, also,
		andy finkel
-- 

			andy finkel
			Commodore/Amiga
			{ihnp4|seismo|allegra}!cbmvax!andy
		or	 pyramid!amiga!andy

Any expressed opinions are mine; but feel free to share.

I disclaim all responsibilities, all shapes, all sizes, all colors.

"Never make anything simple and efficient when it can be complex and wonderful."