One thread can write and another read— at the same time!
Petru Marginean wrote is his article at ddj portal about a lock-free queue (the source code for the lockfreequeue class is available online; see www.ddj.com/code/) in which one thread can write to the queue and another read from it—at the same time without any locking.
Among the assumptions to accomplish lock – free queues there is a single writer (Producer) and single reader (Consumer). When you have multiple producers and consumers, you can still use this queue with some external locking.
Queues are used in many applications including message processing.
Lock-Free Queues
By
George Bagropoulos
|
on July 7, 2008
|
0 Comment
Recent Posts
-
5 Effortless Ways to Triple your Productivity
June 15, 2016 - 0 Comment -
An Amazing Productivity Tip.
June 14, 2016 - 0 Comment -
The Secret for Efficient Time Management
June 13, 2016 - 0 Comment
Author Description
Disclaimer
The views expressed on this blog are my personal opinion and do not necessarily reflect the views of my employer.
Amazon Promotions
Promotion
Tags
analysis
Apple
BitLocker
brain
brain computer interface
collaboration
computer
Cracked
database
DNS
education
free
free tools
google
GSM
hardware
interner explorer
Internet
iPad
iPad 2
job interview
jokes
lectures
Microsoft
Mobile Phones
neuron
nexus one
phone
Productivity
programming
project management
Quantum Cryptography
requirements
risk
security
Software
Software Engineering
sofware engineering
tablet
Time Management
upgrade
vulnerability
web
Windows
windows 7
Technology News
- Tencent Shares Blow Past Magnificent Seven on China Tech Outlook April 24, 2024
- Nikon Soars Most in 11 Years as London’s Silchester Takes Stake April 24, 2024
- French startup FlexAI exits stealth with $30M to ease access to AI compute April 24, 2024
- TikTok Ban Looms With Biden Poised to Start 270-Day Countdown April 24, 2024
- China SenseTime Halts Trading in Hong Kong After 36% Stock Surge April 24, 2024
No Responses to “Lock-Free Queues”