[Lldb-commits] [PATCH] D13940: Fix race conditions in Core/Timer
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 22 05:42:56 PDT 2015
tberghammer updated this revision to Diff 38118.
tberghammer added a comment.
We already used some thread local storage in the same file to store the current Timer stack so I decided to move the depth to the same storage object (it is using the Host::ThreadLocalStorage* methods).
Originally I decided to go with the thread_local keyword because I expected it to be more efficient for integral types then the other methods and based on my understanding it should be supported since MSVC 2010 for integral types.
http://reviews.llvm.org/D13940
Files:
include/lldb/Core/Timer.h
source/Core/Timer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13940.38118.patch
Type: text/x-patch
Size: 4748 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151022/2509163f/attachment-0001.bin>
More information about the lldb-commits
mailing list