<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></STYLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.6002.18130" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV>My understanding of the interface has always been as you suggest, namely, yes you should get an "Alerted" exception if the thread is marked alerted regardless of the value of the n (seconds) parameter.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Randy<BR><BR>>>> Jay K <jay.krell@cornell.edu> 12/12/2009 7:37 PM >>><BR>If I call AlertPause with <= 0 time, should I recieve alerts?<BR>Current pthread/win32 implementations: no.<BR> They say if time <= then return end before doing much.<BR>My suspicion: yes.<BR><BR><BR>Thread.i3:<BR> <BR>PROCEDURE AlertPause(n: LONGREAL) RAISES {Alerted};<BR>(* Like "Pause", but if the thread is marked alerted at the time of<BR> the call or sometime during the wait, raise "Alerted". *)<BR><BR> <BR> - Jay<BR></DIV></BODY></HTML>