[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Posix shared memory



> -----Message d'origine-----
> De : Joel Sherrill [mailto:joel.sherrill at oarcorp.com] 
> Envoy? : vendredi 2 novembre 2007 14:58
> ? : Arquer Stephane
> Cc : rtems-users at rtems.org
> Objet : Re: Posix shared memory
> 
> 
> Arquer Stephane wrote:
> > Hello,
> >
> > All the posix Memory Management functions are 
> Unimplemented. Can you 
> > tell me if the Multiprocessing Manager with the Shared 
> Memory Support 
> > Driver offer the same services ? If yes, do you have examples which 
> > will help me to understand how to implement them.
> >
> >   
> No.  It is strictly an area of shared memory that is used to 
> pass messages back and forth between nodes in an MP system to 
> perform RPC operations.
> 
> Why do you want POSIX Memory Management services and
> how do you envision using them in your application?
I'm porting a protocol called TSP (Transport Sample Protocol) in an rtems application in order to use it as as test driving unit. There is a tsp tool to add TSP in an existing c application which is the BlackBoard. This BB is designed to run under posix system with shared memory functions to allow data sharing between all application threads.
Correct me if it's wrong, with rtems, there is only a user space, all threads can have access to shared data.

Sa

> 
> RTEMS does not have memory management and the idea of mapping 
> memory into a process address space doesn't make much sense.  
> malloc'ed memory is shareable across all threads.
> 
> --joel
> > Regards.
> >
> > St?phane.
> >
> >   
> >
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.com 
> > http://rtems.rtems.org/mailman/listinfo/rtems-users
> >   
> 
>