<div dir="ltr">Hi everyone,<div><br clear="all"><div>So, I have the following problem:</div><div><br></div><div>I am working with an Aurora System, running the software on windows7. The control unit is connected via Wlan and every now and then the connection is lost. I managed to make it reconnect but it takes some time (around 20 seconds). during these 20 seconds the software is blocked and doesnt react to anything. I found out that the reason is a Wait call in igstkTracker class:</div><div><br></div><div>Inside igstkTracker.cxx in the method:</div><div><br></div><div><i>void Tracker::AttemptToUpdateStatusProcessing( void )</i><br></div><div><br></div><div>there is this:</div><div><br></div><div><div><i> m_ConditionNextTransformReceived->Wait( </i></div><div><i> & m_LockForConditionNextTransformReceived );</i></div></div><div><i><br></i></div>and the following comment:<div><i><br></i></div><div><i><div> // wait for a new transform to be available, it would be nice if</div><div> // "Wait" had a time limit like pthread_cond_timedwait() on Unix or</div><div> // WaitForSingleObject() on Windows</div></i></div><div><i><br></i></div><div><br></div><div>So I commented out the wait call and the software doesnt block anymore, and so far i didnt get any crush or error but.....how safe is to do what i just did? are there any risk that i havent encountered yet?</div><div><br></div><div>Besides, after commenting these lines out, the software doesnt block anymore but the timeout events do not show up until ~20 seconds later (like there is another thread or something blocking them). I was not able to find what it blocking these events....does someone have an idea? </div><div><br></div><div>Thanks a lot in advance!</div><div><br></div><div>Rafa</div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Rafael Rodriguez Serra<br><br><br><br></div>
</div></div>