Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_pf_worker

Proto:static void set_pf_worker(bool val)

Type:void

Parameter:

TypeParameterName
boolval
2332  mutex_lock( & wq_pool_attach_mutex)
2333  If val Then flags |= I'm a workqueue worker
2335  Else flags &= ~I'm a workqueue worker
2337  mutex_unlock( & wq_pool_attach_mutex)
Caller
NameDescribe
worker_thread
rescuer_threadscuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function