Re: Infinite Loops

From: Sigmund Hewett (siggy@MailandNews.com)
Date: 05/01/00


On Mon, 01 May 2000, you wrote:
> Greetings,
>
> > Seems to me that this would only catch near-infinite loops. Since an
> > infinite loop lasts forever, the timer in comm.c will never be reached.
> >
>
> I don't know about the windows platform but in Unix signals are delivered
> and handled asynchronously (sp?). That means if caught in an infinite
> loop, a signal will execute the code in the signal handler, and after
> that is done, it will jump back to the infinite loop.
>
> - Chris
>

A quick check of the code shows that the tic timer for infinite loops is
in fact Unix only.

Siggy
--
--------------------------------------------
Even Jesus wanted a little more time,
  When he was walking spanish down the hall
--------------------------------------------
siggy@mailandnews.com
ICQ 68707552
--------------------------------------------


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT