CppCon 2014: Tony Van Eerd "Lock-free by Example"

CppCon 2014: Tony Van Eerd "Lock-free by Example"

CppCon

9 лет назад

10,880 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@OlliS71
@OlliS71 - 20.11.2023 19:24

You spend a lot more time on producing and consuming an item than to place it into a queue or taking it from there. So there's not much likehood of a collision and you can stick with a mutex and a condvar. And lock-free queues have to be polled which is usually unacceptable.

Ответить
@dvlduvall
@dvlduvall - 21.10.2017 08:16

What about memory stabilization protocols? CAS is not the interesting part of the lock free story.

Ответить