Why is a timeout necessary?

The timeout mechanism was implemented to avoid possible deadlocks in the system. These deadlocks can occur because of possible complications in the interaction between CBFS Connect, Windows, and the user implementation of callback/event handlers.

If your callback/event handler expects a timeout to happen due to slow operations (e.g., across the network) you can call the ResetTimeout method from the callback/event handler to reset the counter and to extend the time leased for the operation. However, don't reset the timeout counter infinitely — as long as your code is working, the system is in an unstable state and some other processes working in the background can be blocked.

Ready to get started?

Learn more about Callback Technologies or download a free trial.

Download Now