---
name: "cancel_delayed_work_sync"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/cancel_delayed_work_sync"
---

# cancel\_delayed\_work\_sync(9)

cancel a delayed work and wait for it to finish

## NAME

cancel\_delayed\_work\_sync - cancel a delayed work and wait for it to finish

## SYNOPSIS

**bool cancel\_delayed\_work\_sync(struct delayed\_work \*** *dwork***);**

## ARGUMENTS

*dwork*

the delayed work cancel

## DESCRIPTION

This is **cancel\_work\_sync** for delayed works.

## RETURN

**true** if *dwork* was pending, **false** otherwise.

## COPYRIGHT
