3 ms·
This sounds like an event loop to me. Have the main loop check a queue for events indicating completed tasks. If nothing is pending, do the default task.
by skybrian 9y ago
This sounds like an event loop to me. Have the main loop check a queue for events indicating completed tasks. If nothing is pending, do the default task.