Using time.sleep() in 2 threads causes lockup whenhyper-threading is enabled
Serge Orlov
Serge.Orlov at gmail.com
Tue May 9 06:08:35 EDT 2006
Dennis Lee Bieber wrote:
> On 8 May 2006 15:44:04 -0700, "Serge Orlov" <Serge.Orlov at gmail.com>
> declaimed the following in comp.lang.python:
>
>
> > The test program in question doesn't require a dedicated machine and it
> > doesn't consume a lot of CPU resources since it sleeps most of the
> > time.
> >
> Yet... Do we have any evidence that other activity on the machine
> may or may not affect the situation? There is a big difference between
> leaving a machine idle for a few hours to see if it hangs, vs doing
> normal activities with a process in the background (and what about
> screen savers? network activity?)
But what if other processes will actually help to trigger the bug? IMHO
both situations (idle or busy) are equal if you don't know what's going
on.
More information about the Python-list
mailing list