The old file semaphore method. It works and I've use it for decades.

Bob