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 12:02:18 +0200 Message-Id: <1156154538.4402.32.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: > > [ pipe.c.patch ] update the "timeout" variable so that the remaining > timeout is used in case of consequent xnsynch_sleep_on() calls. > > As I understand that may indeed happen in case when another thread > "steals" data while this one waits to be scheduled in. Indeed, but this case is already handled in xnsynch_sleep_on() (see the test for the XNROBBED bit). -- Philippe.