---
name: "pthread_suspend_np"
section: "3"
platform: "linux"
package: "rtlinux"
version: "2.0rel-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/pthread_suspend_np"
---

# pthread\_suspend\_np(3)

suspend execution of a real-time thread

## NAME

pthread\_suspend\_np - suspend execution of a real-time thread

## SYNOPSIS

**#include \<rtl\_sched.h\>**

**int pthread\_suspend\_np (pthread\_t thread);**

## DESCRIPTION

This function is a non-portable Real-Time Linux extension. **pthread\_suspend\_np** suspends the execution of the thread *thread* until a call to **pthread\_wakeup\_np.** Note: the thread is not guaranteed to be suspended immediately.

## RETURN VALUE

Always returns 0.

## ERRORS

None.

## AUTHOR

Michael Barabanov \<baraban@fsmlabs.com\>

## SEE ALSO

[**pthread\_wakeup\_np**(3)](/pthread_wakeup_np/3.md), [**pthread\_make\_periodic\_np**(3)](/pthread_make_periodic_np/3.md)
