Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96374
| From | "James Harris" <james.harris.1@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Signal SIGINT ignored during socket.accept |
| Date | 2015-09-12 00:15 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <msvn7r$9ug$1@dont-email.me> (permalink) |
| References | (3 earlier) <mailman.337.1441913195.8327.python-list@python.org> <msso49$28e$1@dont-email.me> <mailman.348.1441936893.8327.python-list@python.org> <msum6c$hv$1@reader1.panix.com> <msv21t$n1m$1@dont-email.me> |
"James Harris" <james.harris.1@gmail.com> wrote in message news:msv21t$n1m$1@dont-email.me... > > "Grant Edwards" <invalid@invalid.invalid> wrote in message > news:msum6c$hv$1@reader1.panix.com... ... >> Waking up twice per second and immediately >> calling select() again on any hardware/OS built in the past 50 years >> is going completely negligible (as long as you can ignore the smell). > > CPU usage is not the only issue but it is a consideration. I tested it > before posting the code and couldn't see any significant increase in > CPU use. To give it a better test I have just left running for a > couple of hours or so. I am pleased to say it currently reports a > cumulative total of 0:00:00, i.e. it has not clocked up even a second > of CPU time yet! I am beginning to wonder if time is being accounted properly. It has now been running 8 hours and still shows CPU time as zero. James
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Signal SIGINT ignored during socket.accept "James Harris" <james.harris.1@gmail.com> - 2015-09-10 19:24 +0100
Re: Signal SIGINT ignored during socket.accept Chris Angelico <rosuav@gmail.com> - 2015-09-11 04:36 +1000
Re: Signal SIGINT ignored during socket.accept "James Harris" <james.harris.1@gmail.com> - 2015-09-10 20:11 +0100
Re: Signal SIGINT ignored during socket.accept Chris Angelico <rosuav@gmail.com> - 2015-09-11 05:26 +1000
Re: Signal SIGINT ignored during socket.accept "James Harris" <james.harris.1@gmail.com> - 2015-09-10 21:12 +0100
Re: Signal SIGINT ignored during socket.accept Chris Angelico <rosuav@gmail.com> - 2015-09-11 12:01 +1000
Re: Signal SIGINT ignored during socket.accept Grant Edwards <invalid@invalid.invalid> - 2015-09-11 13:50 +0000
Re: Signal SIGINT ignored during socket.accept Marko Rauhamaa <marko@pacujo.net> - 2015-09-11 17:00 +0300
Re: Signal SIGINT ignored during socket.accept Chris Angelico <rosuav@gmail.com> - 2015-09-12 00:27 +1000
Re: Signal SIGINT ignored during socket.accept "James Harris" <james.harris.1@gmail.com> - 2015-09-11 18:14 +0100
Re: Signal SIGINT ignored during socket.accept "James Harris" <james.harris.1@gmail.com> - 2015-09-12 00:15 +0100
csiph-web