replaced GMutex with mlpl::MutexLock.