|
|
> 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
|
|