Message-ID: <5188AC8C.9000409@xenomai.org> Date: Tue, 07 May 2013 09:26:04 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <1367884025.7491.YahooMailNeo@web161401.mail.bf1.yahoo.com> In-Reply-To: <1367884025.7491.YahooMailNeo@web161401.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] priority of alarm handler? List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Z Cc: "xenomai@xenomai.org" On 05/07/2013 01:47 AM, Tom Z wrote: > Hi, I have question regarding using > int rt_alarm_create ( RT_ALARM * alarm, > const char * name, > rt_alarm_t handler, > void * cookie > ) > > If I installed a kernel-space handler to an RT_ALARM object, then when this handler is executing, will this handler be preempted by other higher-priority interrupts? If yes, can I prevent this from happening? > No, it won't be preempted by any other interrupt, unless you unmask it manually, which you should not do. In addition, kernel-based alarm handlers are serialized. > > Thanks, > Tom > _______________________________________________ > Xenomai mailing list > Xenomai@xenomai.org > http://www.xenomai.org/mailman/listinfo/xenomai > -- Philippe.