Polling

The polling model is available on all platforms. If portability is a concern, polling is recommended.

In the polling model, an application calls ct_poll to determine if an asynchronous operation has completed. If it has, then ct_poll automatically triggers the programmer-installed completion callback routine.