Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pwq_busy

Proto:static bool pwq_busy(struct pool_workqueue *pwq)

Type:bool

Parameter:

TypeParameterName
struct pool_workqueue *pwq
4322  When i < WORK_NR_COLORS cycle If nr_in_flight[i] Then
4324  Return true
4326  If pwq != dfl_pwq && L: reference count > 1 Then Return true
4328  If L: nr of active works || Not list_empty - tests whether a list is empty*@head: the list to test. Then Return true
4331  Return false
Caller
NameDescribe
destroy_workqueuedestroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first.