Home
last modified time | relevance | path

Searched refs:bootupThread_ (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/pnp_server/
H A Daudio_pnp_server.cpp242 std::unique_ptr<std::thread> bootupThread_ = nullptr; in DetectAudioDevice() local
243 bootupThread_ = std::make_unique<std::thread>([this] { this->UpdateUsbHeadset(); }); in DetectAudioDevice()
244 pthread_setname_np(bootupThread_->native_handle(), "OS_BootupEvent"); in DetectAudioDevice()
252 if (bootupThread_ && bootupThread_->joinable()) { in DetectAudioDevice()
253 bootupThread_->join(); in DetectAudioDevice()