Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32: CFSocket.c confuses thread handles and thread IDs #5137

Open
lhoward opened this issue Nov 20, 2024 · 0 comments
Open

Win32: CFSocket.c confuses thread handles and thread IDs #5137

lhoward opened this issue Nov 20, 2024 · 0 comments
Labels

Comments

@lhoward
Copy link
Contributor

lhoward commented Nov 20, 2024

See here.

__cfSocketTid() is used for logging, but it assumes that r_CFThreadRef is a thread ID, not a thread handle.

Noticed this when investigating migrating CoreFoundation to use thread IDs instead of handles.

cc @compnerd @HeMet

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

No branches or pull requests

2 participants