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


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

Re: multiprocessing, what am I doing wrong?

Started byMRAB <python@mrabarnett.plus.com>
First post2012-02-28 18:12 +0000
Last post2012-02-28 18:12 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: multiprocessing, what am I doing wrong? MRAB <python@mrabarnett.plus.com> - 2012-02-28 18:12 +0000

#20993 — Re: multiprocessing, what am I doing wrong?

FromMRAB <python@mrabarnett.plus.com>
Date2012-02-28 18:12 +0000
SubjectRe: multiprocessing, what am I doing wrong?
Message-ID<mailman.248.1330452764.3037.python-list@python.org>
On 28/02/2012 17:16, Eric Frederich wrote:
> If I do a time.sleep(0.001) right at the beginning of the run() method,
> then it completes fine.
> I was able to run it through a couple hundred times without problem.
> If I sleep for less time than that or not at all, it may or may not
> complete.
>
[snip]

To me that suggests that the OS works in units of 1 millisecond, so a
sleep of less than 0.001 seconds is rounded to 0 milliseconds.

[toc] | [standalone]


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


csiph-web