gpt4 book ai didi

linux - linux 的等待队列中可以排队多少项?

转载 作者:太空宇宙 更新时间:2023-11-04 11:14:24 24 4
gpt4 key购买 nike

我想知道等待队列的最大大小是多少。如何知道waitqueue的上限

问候索宾

最佳答案

根据source ,等待队列只是一个任务列表,所以没有最大大小:

struct __wait_queue_head {
spinlock_t lock;
struct list_head task_list;
};
typedef struct __wait_queue_head wait_queue_head_t;

关于linux - linux 的等待队列中可以排队多少项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21671878/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com