Add new thread synchronization interface.