* Re: DEC Alpha OSF1 - Context Swtiching Code
1994-10-20 15:16 DEC Alpha OSF1 - Context Swtiching Code Scott Hall
@ 1994-10-26 5:11 ` Sean Levy
0 siblings, 0 replies; 2+ messages in thread
From: Sean Levy @ 1994-10-26 5:11 UTC (permalink / raw)
>>>>> "Scott" == Scott Hall <hall@tivoli.tivoli.com> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread