From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2808555bf20d7666 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,2808555bf20d7666 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-26 04:03:50 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!hookup!news.mathworks.com!news.ultranet.com!newsie.dmc.com!spdcc!das-news2.harvard.edu!cantaloupe.srv.cs.cmu.edu!usenet@cs.cmu.edu From: snl@BAKER.ndim.edrc.cmu.edu (Sean Levy) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Subject: Re: DEC Alpha OSF1 - Context Swtiching Code Date: 26 Oct 1994 05:11:50 GMT Organization: n-dim group, engineering design research center, cmu, pgh, pa, usa Distribution: world Message-ID: References: <3861k8$2h9@tivoli.tivoli.com> Reply-To: snl@paneer.ndim.edrc.cmu.edu NNTP-Posting-Host: baker.edrc.cmu.edu In-reply-to: hall@tivoli.tivoli.com's message of 20 Oct 1994 15:16:24 GMT Xref: nntp.gmd.de comp.unix.osf.osf1:6102 comp.unix.osf.misc:1975 >>>>> "Scott" == Scott Hall writes: In article <3861k8$2h9@tivoli.tivoli.com> hall@tivoli.tivoli.com (Scott Hall) writes: Scott> I'm looking for some cthreads context switching code Scott> (assembly) for DEC Alpha OSF1 2.0. If anyone could help me Scott> out, please send email. Scott> Thanks, Scott> Scott Scott> hall@tivoli.com Scott> simple context switching by "cthreads" i assume you mean c-based thread package, as opp. to the mach cthreads interface, which i don't think exists for dec osf/1 [am i wrong?]. if you do mean cthreads itself, then you can probably try the mach archive at ftp.cs.cmu.edu:/project/mach. there's a file in there called threads.tar.Z which looks promising. not sure about the status of that code or the like, you'd best check out the readmes along the way. if you don't actually mean *the* cthreads, you have two choices that i know of: [a] chris provenzano's [proven@mit.edu] pthreads implementation, for which i help maintain alpha support, which has [mostly] setjmp-based context switching for a dozen platforms ["mostly", because there is some small asm magick required, but the bulk of the dirty work is still in c]. [b] quickthreads from u of washington has very routines for about half a dozen machines, including the alpha. it isn't a full-blown threads package, but if all you want is context-switching code, it has it. the context switch code here is all asm, nothing to do with setjmp. i don't have url's handy, sorry. if you can't find either one, email me and i'll dig around. pax, -- sean -- sean levy, n-dim group, edrc, cmu snl@paneer.ndim.edrc.cmu.edu 5000 forbes ave., pittsburgh, pa, 15213 +1 412 268 {5215(vox),5229(fax)} http://paneer.ndim.edrc.cmu.edu:8888/~snl/Home.html prototype (n.) - something you intend to throw away but somehow never do.