]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Marked the annotations ANNOTATE_MUTEX_IS_USED_AS_CONDVAR,
authorBart Van Assche <bvanassche@acm.org>
Mon, 8 Mar 2010 07:55:23 +0000 (07:55 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 8 Mar 2010 07:55:23 +0000 (07:55 +0000)
ANNOTATE_UNPUBLISH_MEMORY_RANGE and ANNOTATE_SWAP_MEMORY_RANGE as deprecated.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11082

drd/drd.h

index 64adfe99b5e31f6461630de6f9ca9ffba987de7b..a13635c1f8aa92d5bbe03d8f1cb0b6577bdf5fb6 100644 (file)
--- a/drd/drd.h
+++ b/drd/drd.h
  */
 #define ANNOTATE_CONDVAR_WAIT(cv) do { } while(0)
 
-/**
- * Tell DRD to consider the memory operations that happened before a mutex
- * unlock event and after the subsequent mutex lock event on the same mutex as
- * ordered. This is how DRD always behaves, so this macro has been defined
- * such that it has no effect.
- */
+/** Deprecated -- don't use this annotation. */
 #define ANNOTATE_MUTEX_IS_USED_AS_CONDVAR(mtx) do { } while(0)
 
 /**
  */
 #define ANNOTATE_PUBLISH_MEMORY_RANGE(addr, size) do { } while(0)
 
-/**
- * Tell DRD to undo the effect of ANNOTATE_PUBLISH_MEMORY_RANGE().
- */
+/** Deprecated -- don't use this annotation. */
 #define ANNOTATE_UNPUBLISH_MEMORY_RANGE(addr, size) do { } while(0)
 
+/** Deprecated -- don't use this annotation. */
+#define ANNOTATE_SWAP_MEMORY_RANGE(addr, size) do { } while(0)
+
 /** Tell DRD that a reader-writer lock object has been initialized. */
 #define ANNOTATE_RWLOCK_CREATE(rwlock) \
    DRDCL_(annotate_rwlock_create)(rwlock)