Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #110219

Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool?

From Ian Kelly <ian.g.kelly@gmail.com>
Newsgroups comp.lang.python
Subject Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool?
Date 2016-06-21 02:01 -0600
Message-ID <mailman.1.1466496101.11516.python-list@python.org> (permalink)
References <7c34b140-ac0d-4840-8c30-e967e83aae4a@googlegroups.com> <57626394$0$2780$c3e8da3$76491128@news.astraweb.com> <90fdccc7-ead5-4a31-99d2-f1ad37ba496e@googlegroups.com> <CALwzid=5BNYc-1CyXg-Ofa5CoLL-Wq3v+k=S4bb0MJ0SU93_6g@mail.gmail.com>

Show all headers | View raw


On Thu, Jun 16, 2016 at 2:45 AM, meInvent bbird <jobmattcon@gmail.com> wrote:
> the name in c# is not called concurrent list, it is called
> blockingcollection
>
> dictionary called concurrent dictionary
>
> thread safe these kind of things
>
> https://msdn.microsoft.com/en-us/library/dd267312(v=vs.110).aspx
>
> https://msdn.microsoft.com/en-us/library/dd997369(v=vs.110).aspx
>
> https://msdn.microsoft.com/en-us/library/dd997305(v=vs.110).aspx

It sounds to me like you're looking for the Queue class:
https://docs.python.org/3/library/queue.html

Or possibly you want its multiprocessing equivalent, since it's not
clear to me which kind of concurrency you're interested in:
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue

Also, please don't top-post on this mailing list. Trimming quotations
and interleaving your replies is the accepted posting style here.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool? meInvent bbird <jobmattcon@gmail.com> - 2016-06-16 00:28 -0700
  Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-06-16 18:30 +1000
    Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool? meInvent bbird <jobmattcon@gmail.com> - 2016-06-16 01:45 -0700
      Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool? Ian Kelly <ian.g.kelly@gmail.com> - 2016-06-21 02:01 -0600
    Re: is there a concurrent list for append in parallel programming in python? how to pass parameter in this parallel program with pool? meInvent bbird <jobmattcon@gmail.com> - 2016-06-16 01:47 -0700

csiph-web