And, of course, the TAS instruction is a no-no on Amiga anyway as it can screw up chipset timings.
As everyone else is saying, if something is public and could potentially be changed by another process, protect it with a semaphore.
It's not the size that matters.