<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=251272109-26102005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=251272109-26102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=251272109-26102005>I'm finding that as
I'm trying to stop my event loop tv_timeToDelay.tv_sec in
BasicTaskScheduler::SingleStep is getting set to MAX_TV_SEC (i.e. 1 million), so
the select doesn't return and I can't break out of the event
loop.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=251272109-26102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=251272109-26102005>Could you please
explain where these huge delays in the DelayQueue come from, and why the
tv_timeToDelay.tv_sec gets set to 1 million? Is there some sequence of calls I
should be making to prevent this?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=251272109-26102005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=251272109-26102005>Many
thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=251272109-26102005>Frances</SPAN></FONT></DIV></BODY></HTML>