Messages in this thread |  | | Subject | Re: Question on atomic_inc/dec | | From | Arjan van de Ven <> | | Date | Wed, 15 Oct 2003 09:57:32 +0200 |
| |
On Tue, 2003-10-14 at 23:44, Tim Hockin wrote: > On Tue, Oct 14, 2003 at 02:17:49PM -0700, Perez-Gonzalez, Inaky wrote: > > It will be in include/asm/atomic.h; however, it is not wise to > > use directly the kernel stuff unless you are coding kernel stuff. > > Is there any reason NOT to use the atomic ops in user-space?
also the /usr/include/asm/atomic.h versions never were actually atomic! Those being actually atomic depends on CONFIG_SMP defined, which for userspace... well you get the picture.
[unhandled content-type:application/pgp-signature] |  |