From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [Xenomai-core] [patch, minor] xnpipe_recv and xntimer_get_timeout_periodic() From: Philippe Gerum In-Reply-To: References: Content-Type: text/plain Date: Mon, 21 Aug 2006 11:36:40 +0200 Message-Id: <1156153000.4402.17.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: rpm@xenomai.org List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dmitry Adamushko Cc: xenomai@xenomai.org On Mon, 2006-08-21 at 10:36 +0200, Dmitry Adamushko wrote: > Not sure 1 should be returned in this case (so far I just did it the > same way as xntimer_get_timeout_aperiodic()), I guess 0 would be > better in both cases. Zero (XN_INFINITE) is reserved to indicate a non-running timer. -- Philippe.