Ask Your Question

Revision history [back]

How does the call stack look like when mouse callback function is fired?

The situation here specifically is that if the mouse callback takes very long to finish, and the user keeps clicking and triggering the callback, will the old, unfinished function be preempted? Or will the old one keep executing and the new callback is placed on a separate thread (or some other way)?