当前位置:网站首页>正确遍历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);
}
}
}
边栏推荐
- Mysql database foundation
- 高性能纠删码编码
- Intel 内部指令 --- AVX和AVX2学习笔记
- Embedded Software Engineer career planning
- Window10 upgrade encountered a big hole error code: 0xc000000e perfect solution
- MySQL与PostgreSQL抓取慢sql的方法
- Mui WebView down refresh pull-up load implementation
- Fastdateformat why thread safe
- Go learning notes - multithreading
- 模数转换器(ADC) ADE7913ARIZ 专为三相电能计量应用而设计
猜你喜欢

Find the common ancestor of any two numbers in a binary tree
![JDBC 预防sql注入问题与解决方法[PreparedStatement]](/img/32/f71f5a31cdf710704267ff100b85d7.png)
JDBC 预防sql注入问题与解决方法[PreparedStatement]
![[ybtoj advanced training guide] similar string [string] [simulation]](/img/eb/acfefc7f85018fe9365d13502e2b0a.jpg)
[ybtoj advanced training guide] similar string [string] [simulation]

Discrimination of the interval of dichotomy question brushing record (Luogu question sheet)

8 examples of using date commands

Enhance network security of kubernetes with cilium

"As a junior college student, I found out how difficult it is to counter attack after graduation."

Dijkstra AcWing 850. Dijkstra求最短路 II

区间DP AcWing 282. 石子合并

In development, why do you find someone who is paid more than you but doesn't write any code?
随机推荐
BOM DOM
LeetCode—剑指 Offer 59 - I、59 - II
Intel 内部指令 --- AVX和AVX2学习笔记
Drools terminates the execution of other rules after executing one rule
Simple understanding of ThreadLocal
OpenCV中cv2.VideoWriter_fourcc()函数和cv2.VideoWriter()函数的结合使用
8 examples of using date commands
Input box assembly of the shutter package
计数类DP AcWing 900. 整数划分
堆 AcWing 839. 模拟堆
Less than three months after the programmer was hired, the boss wanted to launch the app within one month. If he was dissatisfied, he was dismissed immediately
单指令多数据SIMD的SSE/AVX指令集和API
arcgis js 4. Add pictures to x map
浏览器node事件循环
Leetcode - Sword finger offer 37, 38
High performance erasure code coding
spfa AcWing 851. spfa求最短路
Lekao: 22 year first-class fire engineer "technical practice" knowledge points
JS6day(DOM结点的查找、增加、删除。实例化时间,时间戳,时间戳的案例,重绘和回流)
Addition, deletion, modification and query of MySQL table (Advanced)