Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!munnari!mimir!aegir!dhj From: dhj@aegir.dmt.oz (Dennis Jarvis) Newsgroups: comp.lang.c++ Subject: sun task library Message-ID: <281@aegir.dmt.oz> Date: Sun, 25-Oct-87 19:59:14 EST Article-I.D.: aegir.281 Posted: Sun Oct 25 19:59:14 1987 Date-Received: Wed, 28-Oct-87 04:14:05 EST Organization: CSIRO Manufacturing Technology, Adelaide Lines: 30 Keywords: sun task Has anyone made the task library for a sun successfully? If so, I would like to hear from them ... I have installed - c++ (v 1.2)(minus the task library) successfully on a gould - c++ (v 1.2)(minus the task library) successfully (i think) on a sun-3/50 running release 3.3 However, when I install the task library on the sun and try to run the example in appendix c of "a set of c++ classes for coroutine style programming" (part 3 of the release notes), the program dumps core. Output is as follows: main new pc(a,144100,144272) Segmentation fault (core dumped) adb gives the following trace: __task_restore __sched_schedule __task_sleep __qhead_get __pc_ctor _main I have tried another noddy program, and it results in the same behaviour. The only modification I made to the example was remove the void declaration from the constructor (otherwise it wouldn't compile). ________________________________________________________________________ Dennis Jarvis, CSIRO Division of Manufacturing Technology, PO Box 4, Woodville, South Australia 5011, Australia. PHONE: +61 8 268 0156 ARPA : dhj%aegir.dmt.oz@uunet.uu.net FAX : +61 8 268 6757 CSNET : dhj@aegir.dmt.oz TELEX: AA88863 UUCP : {uunet,ukc,mcvax}!munnari!aegir.dmt.oz!dhj ACSNET: dhj@aegir.dmt.oz