Lock one of two mutex variables defined in papi.h.
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.
void PAPI_lock(int lock);
lock -- an integer value specifying one of the two user locks: PAPI_USR1_LOCK or PAPI_USR2_LOCK
There is no return value for this call. Upon return from PAPI_lock the current thread has acquired exclusive access to the specified
Generated automatically by Doxygen for PAPI from the source code.
Version 184.108.40.206 Tue Jun 17 2014 PAPI_lock(3)
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.