De : Gervais Mulongoy [mailto:community-noreply@qnx.com]
Envoyé : 14 mars 2014 09:36
À : ostech-core_os@community.qnx.com
Objet : Re: atomic_read() equivalent api in QNX
You could do:
unsigned val = atomic_add_value(&loc, 0);
Can a read operation be non atomic ?
On 14-03-14 01:16 AM, Kannan, Kabilan wrote:
Hi,
atomic_read() - Is there any equivalent api’s available for QNX.
Thanks in advance.
Thanks,
Kabilan