3 ms·
Isn't it trivial to accidentally make this deadlock?
by gok 8y ago
Isn't it trivial to accidentally make this deadlock?
- deleted 8y ago[deleted]
- erdewit 8y agoNot really, it starts a sub-event loop that still handles all the events sequentially. What can be a problem is infinite recursion, if inside an event handler a new nested event loop is started.
- mehrdadn 8y agoSounds like Visual Basic's DoEvents() all over again?
- aaaaaaaaaab 8y agoThey are running the event loop recursively so it shouldn’t deadlock like an ordinary queue.