I found an article that nicely demonstrates why thread-safe functions are sometimes not enough and why you als need atomic transactions. To this end, you also have to re-think your class’s interface.

Advertisements