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


Groups > comp.lang.python > #75083 > unrolled thread

Error in example in multiprocessing

Started byAkshay Verma <veraks18@gmail.com>
First post2014-07-23 15:57 +0530
Last post2014-07-23 15:57 +0530
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Error in example in multiprocessing Akshay Verma <veraks18@gmail.com> - 2014-07-23 15:57 +0530

#75083 — Error in example in multiprocessing

FromAkshay Verma <veraks18@gmail.com>
Date2014-07-23 15:57 +0530
SubjectError in example in multiprocessing
Message-ID<mailman.12238.1406119862.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

Example under
17.2.1.6. Using a pool of workers
<https://docs.python.org/3.4/library/multiprocessing.html#using-a-pool-of-workers>
Has a error. As far as I understand, The input to res sleep function should
be List and not integer.

res = pool.apply_async(sleep, 10)


Let me know if I am wrong.

Best Regards,
Akshay Verma.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web