diff --git a/core/adapter/syscall/src/hdf_syscall_adapter.c b/core/adapter/syscall/src/hdf_syscall_adapter.c index d84ea86342590e0c474221b3f6c5b06e64ba0307..7b3fc9ba6e6ee6112ca5e260ad14289c7146fb4c 100644 --- a/core/adapter/syscall/src/hdf_syscall_adapter.c +++ b/core/adapter/syscall/src/hdf_syscall_adapter.c @@ -608,8 +608,8 @@ static void HdfDevListenerThreadDestroy(struct HdfDevListenerThread *thread) HDF_LOGE("%s:failed to exit listener thread with ioctl, will go async way", __func__); return; } - while (thread->status != LISTENER_EXITED) { - OsalUSleep(1); + if (thread->status != LISTENER_EXITED) { + OsalUSleep(100); } HDF_LOGI("poll thread exited"); HdfDevListenerThreadFree(thread);