wait_for_completion_killable(9)

wait_for_completion_killable9

Waits for completion of a task (killable)

Usage

int __sched wait_for_completion_killable(struct completion * x);

Arguments

x

holds the state of this particular completion

Overview

This waits to be signaled for completion of a specific task. It can be interrupted by a kill signal.

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.