summaryrefslogtreecommitdiff
path: root/ptw32_MCS_lock.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-05-06 02:11:50 +0000
committerrpj <rpj>2011-05-06 02:11:50 +0000
commit2fe8aba6a8a4ce09f353f34881c77f93a9c01ca3 (patch)
treefd7f179b1abaa525ec55e34bef23b12f8fd89021 /ptw32_MCS_lock.c
parent941d7cf87c60b55342b51e0b0fcd748589b76167 (diff)
Robust mutexes merged from devel branchpost_merge_with_ROBUST_MUTEXES
Diffstat (limited to 'ptw32_MCS_lock.c')
-rw-r--r--ptw32_MCS_lock.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ptw32_MCS_lock.c b/ptw32_MCS_lock.c
index ee89880..02cdc5e 100644
--- a/ptw32_MCS_lock.c
+++ b/ptw32_MCS_lock.c
@@ -72,18 +72,18 @@
* ptw32_mcs_local_node_t node;
*
* ptw32_mcs_acquire (&lock1, &node);
- * ptw32_mcs_release (&node);
+ * ptw32_mcs_lock_release (&node);
*
- * ptw32_mcs_acquire (&lock2, &node);
- * ptw32_mcs_release (&node);
+ * ptw32_mcs_lock_acquire (&lock2, &node);
+ * ptw32_mcs_lock_release (&node);
* {
* ptw32_mcs_local_node_t nodex;
*
- * ptw32_mcs_acquire (&lock1, &node);
- * ptw32_mcs_acquire (&lock2, &nodex);
+ * ptw32_mcs_lock_acquire (&lock1, &node);
+ * ptw32_mcs_lock_acquire (&lock2, &nodex);
*
- * ptw32_mcs_release (&nodex);
- * ptw32_mcs_release (&node);
+ * ptw32_mcs_lock_release (&nodex);
+ * ptw32_mcs_lock_release (&node);
* }
* return (void *)0;
* }