From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <437C8299.3010503@domain.hid> Date: Thu, 17 Nov 2005 14:16:09 +0100 From: =?ISO-8859-1?Q?Ignacio_Garc=EDa_P=E9rez?= MIME-Version: 1.0 Subject: Re: [Xenomai-help] Blocking reads from pipes References: <437B2D05.6070003@domain.hid> <437C5119.4060100@domain.hid> <200511171921.43221.rlenglet@domain.hid> In-Reply-To: <200511171921.43221.rlenglet@domain.hid> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Romain Lenglet Cc: xenomai@xenomai.org >As a conclusion, the behaviour that you observed with Xenomai >pipes seems consistent with that of Linux' named pipes, except >that in Linux read() returns 0, and not an error code as you >observed with Xenomai. > > The read() call does *not* return when you close the *same* file handle from another pthread in the same process. Is that the expected posix behaviour? Nacho.