The invention provides a multi-thread
linked list processing method and device and a computer readable storage medium. The multi-thread
linked list processing method comprises the steps: building a main thread and a plurality of sub-threads, enabling a
linked list to be loaded into the main thread, and enabling state information to comprise a processed identification and an unprocessed identification; after the sub-thread is started, obtaining a target node with an unprocessed identifier from the linked
list, carrying out
data processing on the data of the target node, if the
processing succeeds, updating the state information of the target node into a processed identifier in the linked
list, and obtaining the next node from the linked
list again; and traversing each node in the updated linked list by the main thread, and deleting the node of which the state information is the processed identifier in the traversing process. According to the multi-thread linked
list processing method, the main thread and the plurality of sub-threads are adopted to process the data together, and the state information of the nodes is added into the data of the linked list, and the plurality of sub-threads process the data of the nodes in the linked list in parallel, and the influence on other sub-threads does not need to be considered, and the
data processing efficiency is improved, and the linkedlist is not easy to damage.