Posting Events and Multithreading

The PostDeferredCallToThread function allows you to schedule a callback function to be called in another thread, called the target thread. LabWindows/CVI does not invoke the callback function until it processes events in the target thread.

PostDeferredCall always posts the call to the main thread. This behavior provides backwards compatibility with LabWindows/CVI programs that make calls to PostDeferredCall from asynchronous interrupt callbacks.