So why do we still need to use a "global" lock at the beginning of both insert and delete operation?
@MangoSister I believe that's for the case you want to insert before the first element or delete the first element.
So why do we still need to use a "global" lock at the beginning of both insert and delete operation?
@MangoSister I believe that's for the case you want to insert before the first element or delete the first element.