Skip to content

Commit

Permalink
Remove some debug printfs.
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Mar 28, 2013
1 parent 7485205 commit a268679
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mono/utils/atomic.h
Expand Up @@ -132,11 +132,9 @@ static inline gint32 InterlockedExchange(volatile gint32 *val, gint32 new_val)
{
gint32 ret;

printf ("X: %d %d\n", *val, new_val);
__asm__ __volatile__ ("1:; lock; cmpxchgl %2, %0; jne 1b"
: "=m" (*val), "=a" (ret)
: "r" (new_val), "m" (*val), "a" (*val));
printf ("X2: %d\n", ret);
return(ret);
}

Expand Down

0 comments on commit a268679

Please sign in to comment.