projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ecfb8
)
TSan exam: update descriptor pool for EllenBinTree
author
khizmax
<libcds.dev@gmail.com>
Sun, 17 May 2015 14:31:51 +0000
(17:31 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sun, 17 May 2015 14:31:51 +0000
(17:31 +0300)
tests/unit/ellen_bintree_update_desc_pool.h
patch
|
blob
|
history
diff --git
a/tests/unit/ellen_bintree_update_desc_pool.h
b/tests/unit/ellen_bintree_update_desc_pool.h
index a3dcb85699f6a77c2a3caa8216152a8f5ee8e87a..e8158e9f622254854edca88863447710202f896f 100644
(file)
--- a/
tests/unit/ellen_bintree_update_desc_pool.h
+++ b/
tests/unit/ellen_bintree_update_desc_pool.h
@@
-87,7
+87,10
@@
namespace ellen_bintree_pool {
T * allocate( size_t n, void const * pHint = nullptr )
{
internal_node_counter::onAlloc();
- return base_class::allocate( n, pHint );
+ CDS_TSAN_ANNOTATE_IGNORE_WRITES_BEGIN;
+ T * p = base_class::allocate( n, pHint );
+ CDS_TSAN_ANNOTATE_IGNORE_WRITES_END;
+ return p;
}
void deallocate( T * p, size_t n )