papi_unlock(3) - Linux man page
Name
PAPI_lock - Lock one of two mutex variables defined in papi.h PAPI_unlock - Unlock one of the mutex variables defined in papi.hSynopsis
C Interface#include <papi.h>void PAPI_lock(intlock);void PAPI_unlock(intlock);Fortran Interface
#include "fpapi.h"PAPIF_lock(C_INT lock)PAPIF_unlock(C_INT lock)
Description
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 (hopefully) efficiently implemented mutex.PAPI_unlock() unlocks the mutex acquired by a call to PAPI_lock.