Abstract synchronisation library.