In this Tutorial, I have explained How to create Interlocked Singly linked lists.
Interlocked Singly linked lists is similar to general linked list in Data Structure,but the use cases is slightly different. SList follow the Atomic operation i.e insertion of task and deletion of Task from SList are atomic.
_aligned_malloc = Similar to malloc function.
_aligned_free = Similar to free function.
I have used following API's
1. InitializeSListHead
2. InterlockedPushEntrySList
3. InterlockedPushListSList
4. InterlockedPopEntrySList
5. InterlockedFlushSList
6. RtlFirstEntrySList
7. QueryDepthSList
More Info about Interlocked Singly linked list ,check this link
https://docs.microsoft.com/en-us/wind...
More Info about Interlocked operation check
Follow me on Google Plus
https://plus.google.com/u/0/
Please Share and Subscribe ASystemProgramming Channel
For any Query drop your comment in Comment Box.
Credits : https://msdn.microsoft.com