Memory management between threads in RTEMS
Pierre Ficheux
pierre.ficheux at openwide.fr
Wed Jul 18 15:01:09 UTC 2012
Le 18/07/2012 16:20, m.shahverdi a écrit :
> Hi,
> I have an application with two threads but I don't know how to protect
> memory of each thread against other thread.please help me.
>
> thanks
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
I talked about POSIX because of
pthread_setspecific()/pthread_getspecific() :
"Thread-specific data allows a thread to maintain its own global storage
that is hidden from the other threads."
http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzahw%2Frzahwex1.htm
http://pubs.opengroup.org/onlinepubs/009696799/functions/pthread_setspecific.html
regards
--
Pierre FICHEUX -/- CTO OWI, France -\- pierre.ficheux at openwide.fr
http://ingenierie.openwide.fr
http://www.ficheux.org
I would love to change the world, but they won't give me the source code
More information about the users
mailing list