문제

Can you please tell me the how to insert the object in LIST_ENTRY routine? I need to keep the many object in list.

Thanks in advance.

도움이 되었습니까?

해결책

You didn't provide much to work with. Here are some of the routines associated with LIST_ENTRY management:

InitializeListHead

InsertHeadList

AppendTailList

RemoveEntryList

PushEntryList

PopEntryList

RemoveHeadList

RemoveTailList

There are also interlocked versions of insert, remove, push, and pop. And the general overview for singly and doubly linked lists for LIST_ENTRY (Doubly Linked Lists use LIST_ENTRY - Scroll down to that section):

Singly and Doubly Linked Lists

I hope this helps.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top