Merge in threading and synchronization