|
|
|
|
|
by chrisseaton
3375 days ago
|
|
> This data structure doesn't prevent problems like starvation But that's fine! Lock-free permits starvation. Not every data structure can solve every problem. If you can't have starvation then lock-free isn't enough. In which case, this article isn't for you. |
|
There aren't deadlocks, but there is still waiting and potential starvation, all of which can be informally called "locks" and so we need to be careful about qualifying "locking".
This isn't a criticism of lock-free methodology, but a consideration of the ways in which "lock-free" could be interpreted.