Parallel(?) programming with python
subin
subtitle.indo at gmail.com
Thu Aug 11 08:52:05 EDT 2022
Thanks again for the info.
On Wed, Aug 10, 2022 at 9:31 PM Peter J. Holzer <hjp-python at hjp.at> wrote:
> On 2022-08-10 14:19:37 -0400, Dennis Lee Bieber wrote:
> > On Wed, 10 Aug 2022 19:33:04 +0200, "Dieter Maurer" <dieter at handshake.de
> >
> > declaimed the following:
> > >Schachner, Joseph (US) wrote at 2022-8-9 17:04 +0000:
> > >>Why would this application *require* parallel programming? This
> > >>could be done in one, single thread program. Call time to get time
> > >>and save it as start_time. Keep a count of the number of 6 hour
> > >>intervals, initialize it to 0.
> [...]
> > Though if I read this correctly, a long running action /will/
> > delay others -- which could mean the (FFT) process could block
> > collecting new 1-second readings while it is active.
>
> Certainly, but does it matter? Data is received from some network
> connection and network connections often involve quite a bit of
> buffering. If the consumer is blocked for 3 or 4 or maybe even 20
> seconds, the producer might not even notice. (This of course depends
> very much on the details which we know nothing about.)
>
> hp
>
> --
> _ | Peter J. Holzer | Story must make more sense than reality.
> |_|_) | |
> | | | hjp at hjp.at | -- Charles Stross, "Creative writing
> __/ | http://www.hjp.at/ | challenge!"
> --
> https://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list