Concurrent Linked Lists

This lesson explains how to make the linked list data structure thread safe.

We'll cover the following

You will now examine a more complicated structure, the linked list. Let’s start with a basic approach once again. For simplicity, we’ll omit some of the obvious routines that such a list would have and just focus on concurrent insert; we’ll leave it to the reader to think about lookup, delete, and so forth. The code excerpt below shows the code for this rudimentary data structure.

Get hands-on with 1200+ tech skills courses.