|
  PAPI3:PAPI lock.3
| |
ViewsFrom PAPIDocs
(Redirected from PAPI3:PAPI unlock.3)
NAME
SynopsisC Interface #include <papi.h> void PAPI_lock(int lock); void PAPI_unlock(int lock); Fortran Interface #include <papi.h> void PAPI_lock(int lock); void PAPI_unlock(int lock); #include fpapi.h PAPIF_lock(C_INT lock) PAPIF_unlock(C_INT lock) DescriptionPAPI_lock() Grabs access to one of the two PAPI mutex variables. This function is provided to the user to have a platform independent call to (hopefully) efficiently implemented mutex. PAPI_unlock() unlocks the mutex acquired by a call to PAPI_lock . BugsThese functions have no known bugs. ARGUMENTlock -- an integer value specifying one of the two user locks: PAPI_USR1_LOCK or PAPI_USR2_LOCK See Also |