summaryrefslogtreecommitdiff
path: root/typd_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2017-11-29 20:06:48 +0300
committerIvan Maidanski <ivmai@mail.ru>2017-11-29 20:06:48 +0300
commitb5166446e6599f96a0739017bd4bc128598de200 (patch)
tree467da0df8625039c8e2ace66d378b22055e22555 /typd_mlc.c
parent153a2c7de90fbf7e8beba2c64fd3e1993f8cff03 (diff)
downloadbdwgc-b5166446e6599f96a0739017bd4bc128598de200.tar.gz
Revert 'Eliminate TSan warning about data race in make_descriptor'
This reverts commit a3ee14468b807ecf2d6fa279699b7a9879443bdf. Because it just hides a potential data race.
Diffstat (limited to 'typd_mlc.c')
-rw-r--r--typd_mlc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 501e161d..6c87e507 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -541,12 +541,7 @@ GC_API GC_descr GC_CALL GC_make_descriptor(const GC_word * bm, size_t len)
# endif
{
GC_init_explicit_typing();
-# if defined(THREADS) && defined(AO_HAVE_load_acquire) \
- && defined(AO_HAVE_store)
- AO_store(&GC_explicit_typing_initialized, (AO_t)TRUE);
-# else
- GC_explicit_typing_initialized = TRUE;
-# endif
+ GC_explicit_typing_initialized = TRUE;
}
UNLOCK();
}