Skip to content

Conversation

chifandeyu
Copy link

No description provided.

@cloudwebrtc
Copy link
Member

hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?

@chifandeyu
Copy link
Author

@cloudwebrtc After debugging webrtc. I found the function "GetWindowListHandle" call "IsWindowResponding(hwnd)" return false. set "uTimeoutMs = 3000" will still timeout and return false.I haven't found any detailed information for the specific reasons.

@chifandeyu chifandeyu changed the title Get current process window failed when enumeration window in thread_. Get current process window failed when enumerate window in thread_. Oct 15, 2022
@chifandeyu
Copy link
Author

hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?

I found the problem when the worker thread tries to SendMessageTimeout to check Is window responding but now the main thread is waiting and the main thread is blocking.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants