POV-Ray : Newsgroups : povray.beta-test : Timed out waiting for worker thread startup : Re: Timed out waiting for worker thread startup Server Time
28 Jul 2024 16:30:05 EDT (-0400)
  Re: Timed out waiting for worker thread startup  
From: Chris Cason
Date: 4 Mar 2008 12:58:59
Message: <47cd8de3@news.povray.org>

> 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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.