#synchronization-primitives

[ follow ]
fromInfoQ
1 month ago

Read-Copy-Update (RCU): The Secret to Lock-Free Performance

With pthread's rwlock (reader-writer lock) implementation, I got 23.4 million reads in five seconds. With read-copy-update (RCU), I had 49.2 million reads, a one hundred ten percent improvement with zero changes to the workload.
Software development
Online learning
fromRealpython
1 year ago

Thread Safety in Python: Locks and Other Techniques - Real Python

This course teaches how to ensure thread safety in Python using synchronization primitives.
[ Load more ]