Memory management between threads in RTEMS

m.shahverdi sspardis2 at gmail.com
Wed Jul 18 15:11:01 UTC 2012


Yes,I mean POSIX.

thanks

On Wed, Jul 18, 2012 at 7:31 PM, Pierre Ficheux
<pierre.ficheux at openwide.fr>wrote:

> 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<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://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Frzahw%2Frzahwex1.htm>
> http://pubs.opengroup.org/**onlinepubs/009696799/**
> functions/pthread_setspecific.**html<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
>
>
> ______________________________**_________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-users<http://www.rtems.org/mailman/listinfo/rtems-users>
>



-- 

به "هوالحی" زنده می کند؛

آنسان که می میراند به "هوالممیت"..

ما را به "هوالشهید" است که مدام می میراند و زنده می کند..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120718/c012efa5/attachment-0001.html>


More information about the users mailing list