• DaPorkchop_@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Only if one thread modifies it while another one is iterating over it, if two threads try to modify the list at once there isn’t any kind of synchronization and it really could break your list.