LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   lock free queue in linux. (https://www.linuxquestions.org/questions/programming-9/lock-free-queue-in-linux-672858/)

krnWo 09-28-2008 04:21 AM

lock free queue in linux.
 
Hello,

Does anyone know if there is an open source to a lock free queue which using cas (compare and swap) in linux ?

sundialsvcs 09-28-2008 10:26 PM

"Compare and swap"-type instructions are the basis of spinlocks in the Linux kernel.

paulsm4 09-29-2008 02:16 PM

And (with respect to your other post here): *kernel* spinlocks aren't available to *user space* programs...


All times are GMT -5. The time now is 07:08 AM.