cpp/thread/thread/swap