Dr. Dobbs article on Lock-free Interprocess Communication

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Dr. Dobbs article on Lock-free Interprocess Communication

Post by chase »

There is an article on the Dr. Dobbs website by Alexander Dokumentov on lock-free IPC. From the article "Interprocess communication is an essential component of modern software engineering. Often, lock-free IPC is accomplished via special processor commands. Here's a way around that." You can see the article at http://www.ddj.com/showArticle.jhtml?ar ... =189401457
User avatar
dc0d32
Member
Member
Posts: 69
Joined: Thu Jun 09, 2005 11:00 pm
Location: Right here

Re: Dr. Dobbs article on Lock-free Interprocess Communicatio

Post by dc0d32 »

Dont you think the Coding is quite costly?
tom9876543
Member
Member
Posts: 170
Joined: Wed Jul 18, 2007 5:51 am

Post by tom9876543 »

The algorithm seems to have one issue. It requires a "busy loop" where the writer and reader continuously poll the memory. I guess this may not matter if they both know when to start and stop.
Post Reply