---
name: "SDL_mutexV"
section: "3"
platform: "linux"
package: "libsdl1.2-dev"
version: "1.2.15+dfsg2-8"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_mutexV"
---

# SDL\_mutexV(3)

Unlock a mutex

## NAME

SDL\_mutexV - Unlock a mutex

## SYNOPSIS

**#include "SDL.h"** **#include "SDL\_thread.h"**

**int SDL\_mutexV**(**SDL\_mutex \*mutex**);

## DESCRIPTION

Unlocks the **mutex**, which was previously created with **SDL\_CreateMutex**. Returns **0** on success, or **-1** on an error.

SDL also defines a macro **#define SDL\_UnlockMutex(m) SDL\_mutexV(m)**.

## SEE ALSO

**SDL\_CreateMutex**, **SDL\_mutexP**
