Path: 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 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)