[PATCH] Add a thread-safe version of RefCountedBase
blangmuir at apple.com
Mon Mar 3 17:49:53 PST 2014
This patch adds a variant of RefCountedBase that uses a std::atomic_int to store the reference count. This class will be used by vfs::FileSystem in Clang so that the ref count won’t prevent vfs::FileSystem from ever being thread safe.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1494 bytes
Desc: not available
More information about the llvm-commits