On 2006-05-04, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Please try.
>
> The sleep statement does not return!

Never, or does it just take a long time?

> And this should not happen.

Dude, it's MS Windows.

It does all _sorts_ of stuff that it shouldn't.

Having sleep() take orders of magnitude longer than it should
is not an uncommon complaint for MS Windows users.  There was a
fairly extensive thread in this group about that problem just a
few weeks ago.  IIRC, disabling some other program or service
fixed it for one MS victem.

> The code above does nothing special or unusual.  The problem
> only occurs if 2 threads use the sleep statement and
> hyper-threading is enabled.

That part is new.  I'm pretty sure other people who complained
about sleep() not returning in a reasonable amount of time saw
it all of the time.

-- 
Grant Edwards                   grante             Yow!  I was giving HAIR
                                  at               CUTS to th' SAUCER PEOPLE
                               visi.com            ... I'm CLEAN!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to