Search found 1 match
- Fri Oct 30, 2020 5:16 pm
- Forum: Programs, Libraries and Tools
- Topic: uasyncio, loop doesn't stops
- Replies: 11
- Views: 7289
Re: uasyncio, loop doesn't stops
When working with asyncio and many tasks running in the loop. We found it convenient to add a pollable SIGQUIT CTRL-\ trap in the keyboard input scanning stream (c-code). Unlike CTRL-C which triggers an exception. The flag can be polled by code to trigger a loop.stop(). We presently have this trap i...