Finding errors in multithreaded GUI applications

Sai Zhang, Hao Lü, Michael D. Ernst

2012 · 35 citations · 19 references

Concepts

Abstract

To keep a Graphical User Interface (GUI) responsive and active, a GUI application often has a main UI thread (or event dispatching thread) and spawns separate threads to handle lengthy operations in the background, such as expensive computation, I/O tasks, and network requests. Many GUI frameworks require all GUI objects to be accessed exclusively by the UI thread. If a GUI object is accessed from a non-UI thread, an invalid thread access error occurs and the whole application may abort.

References

19