POV-Ray : Newsgroups : povray.beta-test : Timed out waiting for worker thread startup : Re: Timed out waiting for worker thread startup Server Time: 4 Jul 2008 20:45:50 GMT
  Re: Timed out waiting for worker thread startup  
From: Chris Cason
Date: 4 Mar 2008 17:58:59
S³awomir Szczyrba wrote:
> Usually it displays:
> 
> ./povray
> 0x83024b8 1
> Timed out waiting for worker thread startup
> 
> (first number differs, of course :)
> and sometimes :
> 
> ./povray
> (nil) 0
> No input file provided

I presume that in this latter case there is no pause ... that pretty much
nails it. it's a race condition not yet catered for. a temporary
work-around that will catch most instances is fairly simple: change

  if (m_InitializeEvent.timed_wait(lock, t) == false)

to read

  if (m_BackendState == kUnknown && m_InitializeEvent.timed_wait(lock, t)
    == false)

this is not a 100% solution as it still leaves a race condition, but the
window is much narrower and ought to get you going in most instances until
it's fixed properly.

-- Chris


Post a reply to this message

Copyright 1991-2004 POV-Team™