Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\swait.h Create Date:2022-07-28 05:35:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swait_active -- locklessly test for waiters on the queue*@wq: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_

Proto:static inline int swait_active(struct swait_queue_head *wq)

Type:int

Parameter:

TypeParameterName
struct swait_queue_head *wq
136  Return Not list_empty - tests whether a list is empty*@head: the list to test.