, blowdart wrote

Now make it thread safe Smiley

Without using a lock. Tongue Out

(It can be done, but I'm glad I didn't get that as an interview question last week)