It is said that Code that will be executed by the event handling thread should be relatively brief.
Any specific reason?
This is question talks about the event handling thread in GUI
It is said that Code that will be executed by the event handling thread should be relatively brief.
Any specific reason?
This is question talks about the event handling thread in GUI
Assuming this is about the event handling thread in a GUI, then it should be brief because otherwise the application will appear unresponsive. The event thread handles redraws and so on, so if you spend time doing something else the application may not repaint in a timely fashion.