Synchronization approaches example finished

Example shows using of 4 different synchronization technics: mutex,
spinlock, atomic instructions, transactional memory access.