One thought on “A note about performance

  1. Obviously no-lock doesn’t work when synchronization is required. But atomics are much better to use than mutexes when you can. We used atomics a lot at Bibble instead of mutexes in performance-critical areas. Lockless synchronization using atomics is neat.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.