PAPI  5.0.1.0
aix-lock.h
Go to the documentation of this file.
00001 #include <sys/atomic_op.h>
00002 
00003 /* Locks */
00004 extern atomic_p lock[];
00005 
00006 #define _papi_hwd_lock(lck)                       \
00007 {                                                 \
00008   while(_check_lock(lock[lck],0,1) == TRUE) { ; } \
00009 }
00010 
00011 #define _papi_hwd_unlock(lck)                   \
00012 {                                               \
00013   _clear_lock(lock[lck], 0);                    \
00014 }
00015 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines