From: khizmax Date: Tue, 29 Nov 2016 20:45:15 +0000 (+0300) Subject: Fixed a typo X-Git-Tag: v2.2.0~30 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bd43696f2a3678f0da3a23ff65fa8174805dd8b;p=libcds.git Fixed a typo --- diff --git a/cds/compiler/feature_tsan.h b/cds/compiler/feature_tsan.h index 7703be40..5cf2886f 100644 --- a/cds/compiler/feature_tsan.h +++ b/cds/compiler/feature_tsan.h @@ -53,7 +53,7 @@ # define CDS_TSAN_ANNOTATE_NEW_MEMORY( addr, sz ) AnnotateNewMemory( (char *) __FILE__, __LINE__, reinterpret_cast(addr), sz ) # define CDS_TSAN_ANNOTATE_MUTEX_CREATE( addr ) AnnotateRWLockCreate( __FILE__, __LINE__, reinterpret_cast(addr)) -# define CDS_TSAN_ANNOTATE_MUTEX_DESTROY( addr ) AnnotateRWLockdESTROY( __FILE__, __LINE__, reinterpret_cast(addr)) +# define CDS_TSAN_ANNOTATE_MUTEX_DESTROY( addr ) AnnotateRWLockDestroy( __FILE__, __LINE__, reinterpret_cast(addr)) // must be called after actual acquire # define CDS_TSAN_ANNOTATE_MUTEX_ACQUIRED( addr ) AnnotateRWLockAcquired( __FILE__, __LINE__, reinterpret_cast(addr), 1 ) // must be called before actual release