Test and Test-and-set (TATAS)


Instead of simple test and set, loop over test to save expensive memory access.

One should be really careful to avoid double checked locking failure, and this shouldn’t be used in high level language in general.

Similar Posts:

Post a Comment

Your email is never published nor shared.