[mempool] Annotate functions for clang's ThreadSanitizer (#5191)
authorArmin Hasitzka <cherusker@users.noreply.github.com>
Fri, 21 Jul 2017 09:39:04 +0000 (11:39 +0200)
committerBernhard Urban <bernhard.urban@xamarin.com>
Fri, 21 Jul 2017 09:39:04 +0000 (11:39 +0200)
commit792a0169b9095d814f21d7603f3e4c0c0058d395
tree2c9dbe6c456b84f446f38777f355b663d613706c
parenteb0209be29f9ada832722c3e231a9cb731e8a2bc
[mempool] Annotate functions for clang's ThreadSanitizer (#5191)

* [mempool] Annotate functions for ThreadSanitizer
Whitelist `mono_mempool_alloc`, `mono_mempool_new_size` and `mono_mempool_destroy` according to https://bugzilla.xamarin.com/show_bug.cgi?id=57936

* [fixup!] Test the NO_SANITIZE_THREAD macro

* [fixup!] Merge comments / documentation
mono/metadata/mempool.c
mono/utils/mono-compiler.h