On Wed, 2009-12-09 at 18:22 +0200, Erez D wrote:
> hi
> 
> hi do i do atomic operations in linux (userspace) ?
> 
> i need somthing like testAndSet32()
> 
> 
> thanks,
> erez.

You could access the kernel's atomic in-line function from user-space.
(under /usr/src/linux/arch...)

You'll have to include half kernel to satisfy missing symbols - but it's
doable. (At least it worked, last time I tried.)

Oh, I remember alsa (-devel) having a copy of these headers in a
user-mode digest-able form. Not sure though.

- Gilboa



_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to