wait_for_completion_interruptible(9)

wait_for_completion_interruptible9

Waits for completion of a task (w/intr)

Usage

int __sched wait_for_completion_interruptible(struct completion * x);

Arguments

x

holds the state of this particular completion

Overview

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

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

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.