Jump to content
  • Advertisement
Sign in to follow this  
Zweistein2

lock free deque implementation

This topic is 2873 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey,
I saw some people trying to implement a lock-free deque, which didn t worked so well i think. I saw some papers about that but i couldn t find any implementations that work. Can anyone share some?
lg

Share this post


Link to post
Share on other sites
Advertisement
If you're going to venture into the world of lock-free algorithms, it pays to understand the papers themselves and why lock-free methods work. If you don't, you're begging for subtle and extremely nasty bugs, which will be incredibly hard to reproduce and have very unpredictably bad results.

Once you understand the papers, writing your own implementation is generally trivial, at least in my experience, provided you have sufficient understanding of lock-free primitive operations like compare-and-swap and how they are implemented on various hardware platforms.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!