PAPI 7.1.0.0
|
Lock one of two mutex variables defined in papi.h. More...
PAPI_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 a (hopefully) efficiently implemented mutex.
[in] | lock | – an integer value specifying one of the two user locks: PAPI_USR1_LOCK or PAPI_USR2_LOCK |