Using CMutex in value