in reply to OT: Locking and syncing mechanisms available on *nix.
there are mutexes as well
On windows, I have a whole range of these mechanisms available
also if you look at a higher level there is the SynchronizationContext
In Section
Seekers of Perl Wisdom