Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skwq_has_sleeper - check if there are any waiting processes*@wq: struct socket_wq* Returns true if socket_wq has waiting processes* The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory* barrier call

Proto:static inline bool skwq_has_sleeper(struct socket_wq *wq)

Type:bool

Parameter:

TypeParameterName
struct socket_wq *wq
2097  Return wq && wq_has_sleeper - check if there are any waiting processes*@wq_head: wait queue head* Returns true if wq_head has waiting processes* Please refer to the comment for waitqueue_active.