Home
last modified time | relevance | path

Searched refs:thread_ (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/input/ddk_service/src/emit_event_manager/
H A Dinject_thread.cpp34 if (thread_.joinable()) { in ~InjectThread()
35 thread_.join(); in ~InjectThread()
41 thread_ = std::thread([this] {this->RunThread(this);}); in Start()
42 pthread_setname_np(thread_.native_handle(), "emitEvent"); in Start()
/drivers/peripheral/display/hal/default_standard/src/display_device/vsync/
H A Dsorft_vsync.cpp28 thread_ = std::make_unique<std::thread>([this]() { WorkThread(); }); in Init()
29 DISPLAY_CHK_RETURN((thread_ == nullptr), DISPLAY_FAILURE, DISPLAY_LOGE("can not create thread")); in Init()
55 if (thread_ != nullptr) { in ~SorftVsync()
56 thread_->join(); in ~SorftVsync()
H A Dsorft_vsync.h39 std::unique_ptr<std::thread> thread_; member in OHOS::HDI::DISPLAY::SorftVsync
/drivers/peripheral/bluetooth/hci/hdi_service/implement/
H A Dhci_watcher.cpp80 thread_ = std::thread(std::bind(&HciWatcher::WatcherThread, this)); in Start()
81 if (!thread_.joinable()) { in Start()
89 if (pthread_setschedparam(thread_.native_handle(), policy, &params) != 0) { in Start()
90 HDF_LOGW("pthread_setschedparam failed tid[%lu] policy[%d]", thread_.native_handle(), policy); in Start()
103 thread_.join(); in Stop()
H A Dhci_watcher.h57 std::thread thread_; member in OHOS::HDI::Bluetooth::Hci::HciWatcher
/drivers/peripheral/input/ddk_service/include/emit_event_manager/
H A Dinject_thread.h48 std::thread thread_; member in OHOS::ExternalDeviceManager::InjectThread
/drivers/peripheral/input/udriver/include/
H A Dinput_device_manager.h146 std::thread thread_ {};
/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp53 thread_ = std::move(t1); in Init()
54 thread_.detach(); in Init()

Completed in 4 milliseconds