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

# work\_busy(9)

test whether a work is currently pending or running

## NAME

work\_busy - test whether a work is currently pending or running

## SYNOPSIS

**unsigned int work\_busy(struct work\_struct \*** *work***);**

## ARGUMENTS

*work*

the work to be tested

## DESCRIPTION

Test whether *work* is currently pending or running. There is no synchronization around this function and the test result is unreliable and only useful as advisory hints or for debugging.

## RETURN

OR'd bitmask of WORK\_BUSY\_\* bits.

## COPYRIGHT
