Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96766
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: pyserial and threads |
| Date | 2015-09-17 09:04 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <mte0vh$alh$1@dont-email.me> <mtea08$sog$1@speranza.aioe.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.699.1442495096.8327.python-list@python.org> (permalink) |
On Thu, 17 Sep 2015 12:00:08 +0000 (UTC), alister
<alister.nospam.ware@ntlworld.com> declaimed the following:
>I can see the data being transmitted snowballing & running away in a +ve
>feedback loop very easily.
Especially if a few of the remote devices are configured to ECHO
data... <G>
Main thing I'd probably change is... Since the COM port identification
is already being provided during initialization of the handler object, why
maintain a list of (com, handler) pairs, and the subsequent subscripting --
just save the com port as an attribute of the object.
One could also make a copy of the object list in the start method, and
at that point, scan the list and remove that one's own identity. That would
remove the need for always testing "is the object I'm about to send to
really me?"
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
pyserial and threads pozz <pozzugno@gmail.com> - 2015-09-17 11:28 +0200
Re: pyserial and threads Chris Angelico <rosuav@gmail.com> - 2015-09-17 19:42 +1000
Re: pyserial and threads pozz <pozzugno@gmail.com> - 2015-09-17 15:26 +0200
Re: pyserial and threads Chris Angelico <rosuav@gmail.com> - 2015-09-17 23:45 +1000
Re: pyserial and threads alister <alister.nospam.ware@ntlworld.com> - 2015-09-17 12:00 +0000
Re: pyserial and threads Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-17 09:04 -0400
Re: pyserial and threads pozz <pozzugno@gmail.com> - 2015-09-17 15:23 +0200
Re: pyserial and threads pozz <pozzugno@gmail.com> - 2015-09-17 15:22 +0200
csiph-web