add libs/sync to thread repo