---
name: "completion_done"
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/completion_done"
---

# completion\_done(9)

Test to see if a completion has any waiters

## NAME

completion\_done - Test to see if a completion has any waiters

## SYNOPSIS

**bool completion\_done(struct completion \*** *x***);**

## ARGUMENTS

*x*

completion structure

## RETURNS

0 if there are waiters (**wait\_for\_completion** in progress) 1 if there are no waiters.

## COPYRIGHT
