http://www.perlmonks.org?node_id=895738


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