atomic operations in user space

Li Yang-r58472 LeoLi at freescale.com
Thu Aug 24 20:39:16 EST 2006


Why do you need atomic operations in user land?  IPC will be sufficient
to deal with race conditions between processes. 

Best Regards,
Leo
> -----Original Message-----
> From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On
Behalf Of
> Terry Liang
> Sent: Thursday, August 24, 2006 3:04 AM
> To: linuxppc-embedded at ozlabs.org
> Subject: atomic operations in user space
> 
> Thanks. Arnd. My main concern is whether the operations are really
atomic as they
> are in the kernel space. I have read some discussion in another forum
that on other
> platforms, even if you are able to compile the atomic_add(),
atomic_set(), etc.
> from an user space application,  they don't guarantee to be atomic.
Thanks.
> 
> Regards,
> 
> Terry Liang




More information about the Linuxppc-embedded mailing list