Add internal/tsan_assist.h.
authorAndy Polyakov <appro@openssl.org>
Sun, 29 Jul 2018 12:10:20 +0000 (14:10 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 7 Aug 2018 07:06:50 +0000 (09:06 +0200)
commitede3e6653c1127e852493655737327170567a453
tree1f8e0d008132f3b7570b8d369efc8bd8a3681522
parent8839324450b569a6253e0dd237ee3e417ef17771
Add internal/tsan_assist.h.

Goal here is to facilitate writing "thread-opportunistic" code that
withstands Thread Sanitizer's scrutiny. "Thread-opportunistic" is when
exact result is not required, e.g. some statistics, or execution flow
doesn't have to be unambiguous.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6786)
include/internal/tsan_assist.h [new file with mode: 0644]