Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102623
| From | "Frank Millman" <frank@chagford.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: asyncio - how to stop background task cleanly |
| Date | 2016-02-07 12:20 +0200 |
| Message-ID | <mailman.68.1454840425.2317.python-list@python.org> (permalink) |
| References | (5 earlier) <n96kjr$mvl$1@ger.gmane.org> <mailman.62.1454829054.2317.python-list@python.org> <87r3gpq7mi.fsf@elektro.pacujo.net> <mailman.65.1454835375.2317.python-list@python.org> <871t8orhua.fsf@elektro.pacujo.net> |
"Marko Rauhamaa" wrote in message news:871t8orhua.fsf@elektro.pacujo.net... > "Frank Millman" <frank@chagford.com>: > > > I have never been able to get Ctrl+C to work properly on Windows, so I > > use a separate thread that simply waits for Enter. > > Now you are leaving my realm of expertise, as I haven't programmed for > windows since Windows 1.0. Mixing threads, asyncio, input() and Windows > seems like begging for trouble, though. > Well, it is not such a big deal :-) The program I posted works cross-platform, so it will run on your linux box. No matter, you have been an enormous help, and I am very grateful. I found my bug, and my program is now running sweetly. Frank
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-06 09:55 +0200
Re: asyncio - how to stop background task cleanly Marko Rauhamaa <marko@pacujo.net> - 2016-02-06 10:39 +0200
Re: asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-06 16:01 +0200
Re: asyncio - how to stop background task cleanly Marko Rauhamaa <marko@pacujo.net> - 2016-02-06 17:34 +0200
Re: asyncio - how to stop background task cleanly Marko Rauhamaa <marko@pacujo.net> - 2016-02-06 22:37 +0200
Re: asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-07 07:27 +0200
Re: asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-07 09:10 +0200
Re: asyncio - how to stop background task cleanly Marko Rauhamaa <marko@pacujo.net> - 2016-02-07 09:53 +0200
Re: asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-07 10:55 +0200
Re: asyncio - how to stop background task cleanly Marko Rauhamaa <marko@pacujo.net> - 2016-02-07 11:27 +0200
Re: asyncio - how to stop background task cleanly "Frank Millman" <frank@chagford.com> - 2016-02-07 12:20 +0200
csiph-web