This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Current state of SMP in eCos
> 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