TurboFloat Cleanup timeout

Hi

We have a watchdog feature in our application that attempts to detect when the program appears to be frozen. We have had a few cases where this is triggered during our App Close function, during a call to the TurboFloat TF_Cleanup. Specifically it is stuck in the Windows GetQueuedCompletionStatus function. What value timeout parameter do you supply to this function?

The TF Cleanup function calls GetQueuedCompletionStatus directly or indirectly. I would like to know what timeout parameter is set for this call. I would like it to be less than the value used by my watchdog timer, currently 2 minutes, then if there is a network issue preventing that function from completing successfully it will be abandoned and the application can shut down anyway.

But if the timeout is longer or INFINITE, then our freeze detector will trigger and the user gets a crash report. I could disable the freeze detector during this call, but then I presume GetQueuedCompletionStatus will never end and the app will not shutdown by itself.

The next version of TurboFloat fixes the TF_Cleanup() function to not crash / freeze anymore. If you're only calling TF_Cleanup on close of your app you can exclude it altogether (the memory / resources used by TF are cleaned up by the system on process close).

Thank you Wyatt.