---
name: "PAPI_unlock"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPI_unlock"
---

# PAPI\_unlock(3)

Unlock one of the mutex variables defined in papi.h.

## NAME

PAPI\_unlock - Unlock one of the mutex variables defined in **papi.h**.

## SYNOPSIS

## Detailed Description

**Parameters**

*lck* an integer value specifying one of the two user locks: PAPI\_USR1\_LOCK or PAPI\_USR2\_LOCK

**PAPI\_unlock()** unlocks the mutex acquired by a call to **PAPI\_lock** .

**See also**

**PAPI\_thread\_init**

## Author

Generated automatically by Doxygen for PAPI from the source code.
