[Cbe-oss-dev] SPU ucontext and setcontext

Geoff Levand geoff at infradead.org
Sat Jul 16 04:18:24 EST 2011


Hi,

On 07/15/2011 02:48 AM, Paul Keir wrote:
> > Is it possible to implement multi-threading on the SPU? I have
> > SPU-GCC 4.1.1 and 4.6 installed, but it seems ucontext.h
> > is absent from both. Has anyone built the ucontext library
> > for use on the SPU; or achieved co-operative multi-threading
> > by another route?
The MARS runtime system provides a way to do co-operative
multi-tasking.

 http://ftp.linux.org.uk/pub/linux/Sony-PS3/mars/

A presentation is here:

  http://ftp.linux.org.uk/pub/linux/Sony-PS3/mars/presentations/MARS-SIGGRAPH-2008.pdf

-Geoff




More information about the cbe-oss-dev mailing list