qmi.core.thread.check_in_main_thread

qmi.core.thread.check_in_main_thread() None

Check that this function is called in the main thread.

Raises:

QMI_WrongThreadException – If the function is called from any thread other than the main thread.