mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Threading][TSan] Update after review comments.
* Use the longer name ThreadSanitizer rather than TSan for the new files. * Don't implement `tsan::consume` at all for now. * Do the `tsan::release` for `ulock_unlock()` at the head of the function, not at the tail. * Add a comment to test/Sanitizers/tsan/once.swift to explain the test a little more clearly. rdar://110665213
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "swift/Threading/Impl.h"
|
||||
#include "swift/Threading/Errors.h"
|
||||
#include "swift/Threading/TSan.h"
|
||||
#include "swift/Threading/ThreadSanitizer.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user