Results 1 to 2 of 2
Hi,
I want to implement
1) singly linked list using any non-blocking algo.
2) double linked list using any non-blocking algo.
As a starting point, I gone through few research ...
- 10-02-2011 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
NON Blocking Algorithm in C/C++
Hi,
I want to implement
1) singly linked list using any non-blocking algo.
2) double linked list using any non-blocking algo.
As a starting point, I gone through few research papers and wikipedia links about CAS, Non-Blocking Algorithm, etc.
I want to write a sample code with simplest of operations on linked list.
Please provide suitable guidance and references.
Thanks
Nikunj
Bangalore-India
- 10-02-2011 #2
GCC provides operations for atomic memory access:
Atomic Builtins - Using the GNU Compiler Collection (GCC)
This article is for Java, but may give you some ideas:
https://www.ibm.com/developerworks/j...ry/j-jtp04186/DISTRO=Arch
Registered Linux User #388732


Reply With Quote