]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Documentation updates.
authorBart Van Assche <bvanassche@acm.org>
Sat, 21 Feb 2009 09:39:09 +0000 (09:39 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 21 Feb 2009 09:39:09 +0000 (09:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9208

drd/drd_mutex.c
drd/drd_rwlock.c

index e5ce0af4467ad37b0f580bf46f03ecef7f064246..a55959b6726a50b7d86ddf4ccac1a48954862d3d 100644 (file)
@@ -328,9 +328,8 @@ void DRD_(mutex_post_lock)(const Addr mutex, const Bool took_lock,
 /**
  * Update mutex_info state when unlocking the pthread_mutex_t mutex.
  *
- * @param mutex Pointer to pthread_mutex_t data structure in the client space.
- * @param tid ThreadId of the thread calling pthread_mutex_unlock().
- * @param vc Pointer to the current vector clock of thread tid.
+ * @param[in] mutex      Address of the client mutex.
+ * @param[in] mutex_type Mutex type.
  *
  * @return New value of the mutex recursion count.
  *
index 013982dc76ad2982e66e7079da935c0aa0aa4097..9b545d10f444e64f657726f50baa6739225cd0a7 100644 (file)
@@ -464,12 +464,13 @@ void DRD_(rwlock_post_wrlock)(const Addr rwlock, const Bool took_lock)
 
 /**
  * Update rwlock_info state when unlocking the pthread_rwlock_t rwlock.
- * Note: this function must be called before pthread_rwlock_unlock() is called,
- * or a race condition is triggered !
- * @return New value of the rwlock recursion count.
+ *
  * @param rwlock Pointer to pthread_rwlock_t data structure in the client space.
- * @param tid ThreadId of the thread calling pthread_rwlock_unlock().
- * @param vc Pointer to the current vector clock of thread tid.
+ *
+ * @return New value of the rwlock recursion count.
+ *
+ * @note This function must be called before pthread_rwlock_unlock() is called,
+ *   or a race condition is triggered !
  */
 void DRD_(rwlock_pre_unlock)(const Addr rwlock)
 {