---
name: "wait_for_completion_interruptible"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/wait_for_completion_interruptible"
---

# wait\_for\_completion\_interruptible(9)

waits for completion of a task (w/intr)

## NAME

wait\_for\_completion\_interruptible - waits for completion of a task (w/intr)

## SYNOPSIS

**int \_\_sched wait\_for\_completion\_interruptible(struct completion \*** *x***);**

## ARGUMENTS

*x*

holds the state of this particular completion

## DESCRIPTION

This waits for completion of a specific task to be signaled. It is interruptible.

The return value is -ERESTARTSYS if interrupted, 0 if completed.

## COPYRIGHT
