From 2d732560b7629a23ce6acd265972a3afd2741688 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 21 Feb 2009 09:39:09 +0000 Subject: [PATCH] Documentation updates. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9208 --- drd/drd_mutex.c | 5 ++--- drd/drd_rwlock.c | 11 ++++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drd/drd_mutex.c b/drd/drd_mutex.c index e5ce0af446..a55959b672 100644 --- a/drd/drd_mutex.c +++ b/drd/drd_mutex.c @@ -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. * diff --git a/drd/drd_rwlock.c b/drd/drd_rwlock.c index 013982dc76..9b545d10f4 100644 --- a/drd/drd_rwlock.c +++ b/drd/drd_rwlock.c @@ -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) { -- 2.47.3