[ECOS] Current state of SMP in eCos

Andrew Lunn andrew@lunn.ch
Thu Dec 18 21:25:00 GMT 2008


> For running it on linux synth with mulitple threads, would that just
> require starting a second thread somewhere in the synthetic startup
> code? Will the threads be able to share memory? I've never done
> multi-threaded programming on anything other than a flat memory model
> RTOS.

We would probably want to use the clone() system call. This is the
basis for POSIX threads on linux. Threads share the same address space
so yes, they can share memory. 

   Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list