I really don't feel it is appropriate to use the term "lock free" to refer to an algorithm that requires locked instructions.
-
-
@cmuratori Additionally, I've seen many "Lock-free" or "non-blocking" algorithms that use malloc, which is usually blocking. -
@fuzzybinary@cmuratori the algorithm just requires new memory. There are plenty of mechanisms to allocate memory without a lock. Use one. - Show replies
New conversation -
-
-
@cmuratori The LOCK on x86 prefix is a misnomer, there is no actual locking involved in say a fetch-and-add, not even at HW level. -
@cmuratori As long as the destination is aligned anyway. An atomic add "locks" no more than an atomic store does. - Show replies
New conversation -
-
-
@cmuratori I suspect "lock free" was a con-job of advertising. Who doesn't want to use the lock-free version, because locks make things slowThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.