Scroll to navigation

WAIT_FOR_COMPLETION_(9) Driver Basics WAIT_FOR_COMPLETION_(9)

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.

RETURN

-ERESTARTSYS if interrupted, 0 if completed.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10