[svn:parrot] r44168 - trunk/src/atomic

mikehh at svn.parrot.org mikehh at svn.parrot.org
Fri Feb 19 11:51:46 UTC 2010


Author: mikehh
Date: Fri Feb 19 11:51:46 2010
New Revision: 44168
URL: https://trac.parrot.org/parrot/changeset/44168

Log:
correct C function docs

Modified:
   trunk/src/atomic/gcc_x86.c

Modified: trunk/src/atomic/gcc_x86.c
==============================================================================
--- trunk/src/atomic/gcc_x86.c	Fri Feb 19 11:46:40 2010	(r44167)
+++ trunk/src/atomic/gcc_x86.c	Fri Feb 19 11:51:46 2010	(r44168)
@@ -1,5 +1,5 @@
 /* atomic/gcc_x86.c
- *  Copyright (C) 2006, Parrot Foundation.
+ *  Copyright (C) 2006-2010, Parrot Foundation.
  *  SVN Info
  *     $Id$
  */
@@ -34,7 +34,8 @@
  */
 /*
 
-=item C<void * parrot_i386_cmpxchg>
+=item C<void * parrot_i386_cmpxchg(void *volatile *ptr, void *expect, void
+*update)>
 
 The CMPXCHG assembly instruction is a single cycle x86 instruction
 that compares C<expect> and C<*ptr>. If they are equal, sets
@@ -68,7 +69,7 @@
 
 /*
 
-=item C<long parrot_i386_xadd>
+=item C<long parrot_i386_xadd(volatile long *l, long amount)>
 
 C<xadd> is an x86 instruction that performs the following operation:
 Temporary = C<result>;


More information about the parrot-commits mailing list