vanshaj2023 commented on PR #49462:
URL: https://github.com/apache/arrow/pull/49462#issuecomment-4069992196

   Hi @zanmato1984 ,
   
   Thanks for catching this! 
   
   That's a great point about `TlsGetValue()` wiping the system error state. I 
will update `GetCurrentThreadPool()` to save and restore `GetLastError()` 
around the call, and add a test case to verify the error state is preserved 
when calling `OwnsThisThread()`.
   
   I'll push the updates shortly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to