---
name: "rte_spinlock_recursive_t"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_spinlock_recursive_t"
---

# rte\_spinlock\_recursive\_t(3)

## NAME

rte\_spinlock\_recursive\_t

## SYNOPSIS

`#include <rte_spinlock.h>`

### Data Fields

**rte\_spinlock\_t** **sl**\
 volatile int **user**\
 volatile int **count**\

## Detailed Description

The **rte\_spinlock\_recursive\_t** type.

Definition at line **198** of file **rte\_spinlock.h**.

## Field Documentation

### rte\_spinlock\_t sl

the actual spinlock

Definition at line **199** of file **rte\_spinlock.h**.

### volatile int user

core id using lock, -1 for unused

Definition at line **200** of file **rte\_spinlock.h**.

### volatile int count

count of time this lock has been called

Definition at line **201** of file **rte\_spinlock.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
