<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 16, 2014 at 10:44 PM, yhu2 <span dir="ltr"><<a href="mailto:yadi.hu@windriver.com" target="_blank">yadi.hu@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+  usleep(t*1000);<br>Is it a correct fix? any comments would be appreciated!!!<br></blockquote><div><br></div><div>The hang was not because time went backwards, but because it moved forward by over 2 years (which overflows a variable, making the value negative).   I both fixed that issue, and added a configure check for usleep(), which we will use if it is around. Thanks!</div><div><br></div><div>..wayne..</div></div></div></div>