Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!oliveb!amiga!boing!dale From: dale@boing.UUCP (Dale Luck) Newsgroups: comp.sys.amiga.programmer Subject: Re: Launch and Switch Fields in the Task Structure Keywords: multitasking launch switch system programming Message-ID: <963@boing.UUCP> Date: 30 Mar 91 02:34:10 GMT References: <17933@crdgw1.crd.ge.com> Reply-To: dale@boing.UUCP (Dale Luck) Organization: Boing, Milpitas, Ca. Lines: 18 In article <17933@crdgw1.crd.ge.com> barnettj@pookie.crd.ge.com (Janet A Barnett) writes: >What are the tc_launch and tc_switch fields used for? > >I'm writting some numerical software for my amiga and would like to >have separate tasks make use of the 68882. The SAS/C compiler manual >warns against this, indicating that the operating system does not >properly handle sharing of the coprocessor between tasks. This is absolute BS. Ever since WB1.3, the os has supported math coprocessors In a multitasking environment. If you plan on using the IEEE math libraries though, each task must open the Math library itself. There is no need to do any switch/launch programming -- Dale Luck GfxBase/Boing, Inc. {uunet!cbmvax|pyramid}!amiga!boing!dale