---
name: "wait_for_completion"
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"
---

# wait\_for\_completion(9)

waits for completion of a task

## NAME

wait\_for\_completion - waits for completion of a task

## SYNOPSIS

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

## ARGUMENTS

*x*

holds the state of this particular completion

## DESCRIPTION

This waits to be signaled for completion of a specific task. It is NOT interruptible and there is no timeout.

See also similar routines (i.e. **wait\_for\_completion\_timeout**) with timeout and interrupt capability. Also see **complete**.

## COPYRIGHT
