Producer-consumer with buffer swapping—Krzysztof Ostrowski

Save to:
Instapaper Pocket Readability

Synchronisation cost minimisation technique explained based on the classic producer-consumer problem.

Lock less with swapped buffers

by Krzysztof Ostrowski

From the article:

Presented approach keeps the shared resource synchronised, but unblocks the producer execution for the time of the buffer items' consumption to achieve significant gain in overall performance of the solution and its reliability.

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.