当前位置:网站首页>正确遍历EntryList方法
正确遍历EntryList方法
2022-07-02 09:45:00 【如鹿渴慕泉水】
InitializeListHead(&fdoData->pnpNotificatioEntryList);
PLIST_ENTRY nextEntry = NULL;
if (!IsListEmpty(&fdoData->pnpNotificatioEntryList))
{
for (PLIST_ENTRY List = fdoData->pnpNotificatioEntryList.Flink; List != &fdoData->pnpNotificatioEntryList; List = nextEntry)
{
nextEntry = List->Flink;
PPNP_NOTIFICATIO_ENTRY pnpntfy = CONTAINING_RECORD(List, PNP_NOTIFICATIO_ENTRY, ListEntry);
if (pnpntfy->Fetched == TRUE)
{
KeAcquireSpinLock(&fdoData->pnpSpinLockHandle, &oldIrql);
RemoveEntryList(&pnpntfy->ListEntry);
KeReleaseSpinLock(&fdoData->pnpSpinLockHandle, oldIrql);
FREENP(pnpntfy);
}
}
}
边栏推荐
- Leetcode - Sword finger offer 51 Reverse pairs in an array
- drools执行完某个规则后终止别的规则执行
- 高性能纠删码编码
- Is the neural network (pinn) with embedded physical knowledge a pit?
- Writing method of then part in drools
- BOM DOM
- 寻找二叉树中任意两个数的公共祖先
- 2.6 using recursion and stack - [tower of Hanoi problem]
- . Net wechat message template push
- CPU指令集介绍
猜你喜欢

堆 AcWing 839. 模拟堆

Why do programmers have the idea that code can run without moving? Is it poisonous? Or what?

寻找二叉树中任意两个数的公共祖先

Anxiety of a 211 programmer: working for 3 years with a monthly salary of less than 30000, worried about being replaced by fresh students

arcgis js 4.x 地图中加入图片

Interview with meituan, a 34 year old programmer, was rejected: only those under the age of 30 who work hard and earn little overtime
![[old horse of industrial control] detailed explanation of Siemens PLC TCP protocol](/img/13/9002244555ebe8a61660c2506993fa.png)
[old horse of industrial control] detailed explanation of Siemens PLC TCP protocol

哈希表 AcWing 840. 模拟散列表

线性DP AcWing 896. 最长上升子序列 II

线性DP AcWing 902. 最短编辑距离
随机推荐
Use MySQL events to regularly perform post seven world line tasks
AAAI 2022 | Peking University & Ali Dharma Institute: pruning and compression of pre training language model based on comparative learning
Simple understanding of ThreadLocal
Mongodb redis differences
About the loading of layer web spring layer components, the position of the layer is centered
Go学习笔记—基于Go的进程间通信
线性DP AcWing 895. 最长上升子序列
Discrimination of the interval of dichotomy question brushing record (Luogu question sheet)
Leetcode - Sword finger offer 59 - I, 59 - II
浏览器存储方案
Docker compose configuration mysql, redis, mongodb
NTMFS4C05NT1G N-CH 30V 11.9A MOS管,PDF
Redis transaction mechanism implementation process and principle, and use transaction mechanism to prevent inventory oversold
Window10 upgrade encountered a big hole error code: 0xc000000e perfect solution
[FFH] little bear driver calling process (take calling LED light driver as an example)
Intel 内部指令 --- AVX和AVX2学习笔记
LeetCode—剑指 Offer 37、38
8 examples of using date commands
Docsify deploy IIS
drools执行指定的规则