An introduction to lockless algorithms
An introduction to lockless algorithms
Posted Apr 6, 2021 15:56 UTC (Tue) by pbonzini (subscriber, #60935)In reply to: An introduction to lockless algorithms by naveenmv7
Parent article: An introduction to lockless algorithms
The internal implementation is irrelevant. From the point of view of the programmer there is no lock, and yet things work because of the way entering the thread synchronizes with pthread_create, and exiting the thread synchronizes with pthread_join.