web-dev-qa-db-ja.com

stdmutex

std :: unique_lock <std :: mutex>またはstd :: lock_guard <std :: mutex>