[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Can main be interrupt or signal?

From: Paul Schlie
Subject: Re: [avr-libc-dev] Can main be interrupt or signal?
Date: Sun, 13 Feb 2005 15:04:28 -0500
User-agent: Microsoft-Entourage/

> From: Andy Hutchinson <address@hidden>
> I'm just reviewing gcc prolog code.
> Is it "legal" to allow or want  "main" to be an "interrupt" or "signal"
> functiom.
> The current prolog generation will handle this badly but I dont know
> what is right answer.

You mean as in: if I get a reset, or watchdog timer interrupt, I want to
invoke main? (i.e. restart the world)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]