---
name: "kthread_should_stop"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/kthread_should_stop"
---

# kthread\_should\_stop(9)

should this kthread return now?

## NAME

kthread\_should\_stop - should this kthread return now?

## SYNOPSIS

**bool kthread\_should\_stop(***void***);**

## ARGUMENTS

*void*

no arguments

## DESCRIPTION

When someone calls **kthread\_stop** on your kthread, it will be woken and this will return true. You should then return, and your return value will be passed through to **kthread\_stop**.

## COPYRIGHT
