This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]