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
Comments are closed.