From 275d03d3af64e4f5e1769584214f6fccc303456e Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 4 Mar 2011 13:22:03 +0000 Subject: Function name change --- ptw32_MCS_lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ptw32_MCS_lock.c') diff --git a/ptw32_MCS_lock.c b/ptw32_MCS_lock.c index 1cdf723..55e4565 100644 --- a/ptw32_MCS_lock.c +++ b/ptw32_MCS_lock.c @@ -236,7 +236,7 @@ ptw32_mcs_lock_try_acquire (ptw32_mcs_lock_t * lock, ptw32_mcs_local_node_t * no } /* - * ptw32_mcs_node_substitute -- move an MCS lock local node, usually from thread + * ptw32_mcs_node_transfer -- move an MCS lock local node, usually from thread * space to, for example, global space so that another thread can release * the lock on behalf of the current lock owner. * @@ -247,7 +247,7 @@ ptw32_mcs_lock_try_acquire (ptw32_mcs_lock_t * lock, ptw32_mcs_local_node_t * no * Should only be called by the thread that has the lock. */ INLINE void -ptw32_mcs_node_substitute (ptw32_mcs_local_node_t * new_node, ptw32_mcs_local_node_t * old_node) +ptw32_mcs_node_transfer (ptw32_mcs_local_node_t * new_node, ptw32_mcs_local_node_t * old_node) { new_node->lock = old_node->lock; new_node->nextFlag = 0; /* Not needed - used only in initial Acquire */ -- cgit v1.2.3