/[pcsx2_0.9.7]/trunk/3rdparty/w32pthreads/pthread_spin_destroy.c
ViewVC logotype

Diff of /trunk/3rdparty/w32pthreads/pthread_spin_destroy.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by william, Tue Sep 7 03:24:11 2010 UTC revision 280 by william, Thu Dec 23 12:02:12 2010 UTC
# Line 54  pthread_spin_destroy (pthread_spinlock_t Line 54  pthread_spin_destroy (pthread_spinlock_t
54          {          {
55            result = pthread_mutex_destroy (&(s->u.mutex));            result = pthread_mutex_destroy (&(s->u.mutex));
56          }          }
57        else if ((PTW32_INTERLOCKED_LONG) PTW32_SPIN_UNLOCKED !=        else if (PTW32_SPIN_UNLOCKED !=
58                 PTW32_INTERLOCKED_COMPARE_EXCHANGE ((PTW32_INTERLOCKED_LPLONG)                  _InterlockedCompareExchange(&(s->interlock), PTW32_OBJECT_INVALID, PTW32_SPIN_UNLOCKED))
                                                    & (s->interlock),  
                                                    (PTW32_INTERLOCKED_LONG)  
                                                    PTW32_OBJECT_INVALID,  
                                                    (PTW32_INTERLOCKED_LONG)  
                                                    PTW32_SPIN_UNLOCKED))  
59          {          {
60            result = EINVAL;            result = EINVAL;
61          }          }

Legend:
Removed from v.31  
changed lines
  Added in v.280

  ViewVC Help
Powered by ViewVC 1.1.22