[PATCH] correct llvm::sys::Memory thread-safety

Jim Kearney jim.kearney at oracle.com
Mon Oct 14 12:50:56 PDT 2013


On 10/14/2013 01:46 PM, Reid Kleckner wrote:
>
> OK, Jeffrey the shared memory expert has spoken and recommends doing 
> it this way.  :)
>
Please commit it if it otherwise is acceptable.

> ManagedStatic will register itself to be finalized at llvm_shutdown 
> time.  I just don't see any reason to get involved in that for a size_t.
>
Should I look at speciallizing the object_deleter for trivial destructors?

- Jim



More information about the llvm-commits mailing list