Curious if there's a well-known alternative that's a medium between coarse and fine-grained locking. Perhaps just building it directly into the DS implementation? I recall in another class's assignment having a coarse grained lock for the entire DS but then having a fine-grained lock for each slot
chenyecharchar
i mean insert and delete are operations implemented by the data structure
Curious if there's a well-known alternative that's a medium between coarse and fine-grained locking. Perhaps just building it directly into the DS implementation? I recall in another class's assignment having a coarse grained lock for the entire DS but then having a fine-grained lock for each slot