[Gambas-bugtracker] Bug #2300: If App has multiple processes, any process.wait inhibits io from all other processes

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Jul 4 20:40:29 CEST 2021


Comment #2 by Benoît MINISINI:

Your solution is OK. Instead of using WAIT 0.01, you can use:

- WAIT alone, which calls the event loop, but does not process GUI input events.

- WAIT NEXT, that waits for the next event. So no busy waiting like WAIT 0.01. As process termination is an event, you are sure that it will not block forever.

More information about the Bugtracker mailing list