[PATCH v2 0/6] RFC: Add synchronisation routines