🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Need help with CreateTask under Lattice

#13377
From: gregg.g.wonderly
Date: Mon, 08 Jan 1990 06:01
17 lines
1133 bytes
I am trying to parallelize some I/O intensive code (device to device
I/O) by using separate tasks to do the I/O.  I thought it should be
trival to just put the __saveds modifier on the destination function
for the new task and launch it (after the appropriate set up).
However, I run into problems on the first function call out of the new
tasks startup function.  This leads me to believe that not everything
is sane with the stack and data pointers.  Looking at the regs with CPR
indicates that a7 is well within the stack area that I allocated, and
that a4 is in fact loaded with a new value.  Can someone point me at
some example code or send me something that demonstrates the necessary
setup?

Thanks!

-- 
-----
gregg.g.wonderly@att.com   (AT&T bell laboratories)
Technical Details
Message-ID: <12631@cbnewsc.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!att!cbnewsc!gregg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!att!cbnewsc!gregg
From: gregg@cbnewsc.ATT.COM (gregg.g.wonderly)
Newsgroups: comp.sys.amiga.tech
Subject: Need help with CreateTask under Lattice
Keywords: lattice createtask
Message-ID: <12631@cbnewsc.ATT.COM>
Date: 8 Jan 90 06:01:08 GMT
Organization: AT&T Bell Laboratories
Lines: 17