Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77241
| Date | 2014-08-29 08:30 +1000 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: Thread terminate |
| References | <87sikhf0m2.fsf@elektro.pacujo.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13586.1409265037.18130.python-list@python.org> (permalink) |
On 28Aug2014 12:02, Marko Rauhamaa <marko@pacujo.net> wrote: >Ervin Hegedüs <airween@gmail.com>: >> at this time there is only one thread, as you wrote. I just try >> to prepare it to higher load, when one thread will not enough... > >Threads are a necessary evil when dealing with blocking function calls, >but evil they remain. [...snip...] Feh. Threads are not evil. I wish people would not insist on this mantra. Threads have a lot of potential to make managing your program harder if you don't exercise proper discipline. But if you pay attention and exercise care, they are a good approach for various circumstances, and far more lightweight than spawning distinct processes. CHeers, Cameron Simpson <cs@zip.com.au> UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. - Doug Gwyn
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Thread terminate Ervin Hegedüs <airween@gmail.com> - 2014-08-28 10:52 +0200
Re: Thread terminate Marko Rauhamaa <marko@pacujo.net> - 2014-08-28 12:02 +0300
Re: Thread terminate Ervin Hegedüs <airween@gmail.com> - 2014-08-28 11:19 +0200
Re: Thread terminate Cameron Simpson <cs@zip.com.au> - 2014-08-29 08:30 +1000
csiph-web