Back to schedule

Python, Threads & Qt: Boom!

We will investigate problems and pitfalls that will occur when using threads & Qt together inside a Python application, including unexpected memory corruption and crashes.

Abstract

Quick introduction to Python & Qt: PySide/PyQt 
Threading in Python & Qt: QThread, QRunnable, QFuture 
Thread-safety and re-entrancy of QObjects & QWidgets 
Inter-thread signals & slots 
Event loops & long-running tasks 
Memory corruption bugs in PySide & PyQt

Teijo Holzer

Teijo has been working professionally with Python for more than 15 years, the majority of that time in the Visual Effects Industry. He has detailed knowledge about the core Python interpreter and strong experience in working with massively concurrent algorithms, both on a system level & UI level.