Message-ID: From: "newsgroup" Date: Thu, 29 Jan 2009 11:24:31 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C98204.27E09700" Subject: [Xenomai-help] rt_pipe_read returns -ENOBUFS List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C98204.27E09700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, ive got an userspace process running in realtime and try to communicate = to another process unsing the Pipes. rt_pipe_write() to the non realtime process works fine. ich can read the = /dev/rtp1 without problems. Now i try to write from this process to the realtime process using the = /dev/rtp2. The rt_pipe_read() returns a -ENOBUFS. here the call (dirty copy):=20 struct struct_FIFO_Header { unsigned short ID; unsigned short Size; }; struct_FIFO_Header _Header; =20 ret =3D rt_pipe_read(&pipe_read,&_Header,sizeof(_Header),TM_NONBLOCK ); ret is now -ENOBUFS Ive done similar the same using rtai without problems. anone an idea why it occours? Greets Maveric ------=_NextPart_000_0014_01C98204.27E09700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
ive got an userspace process running in = realtime=20 and try to communicate to another process unsing the Pipes.
rt_pipe_write() to the non = realtime process=20 works fine. ich can read the /dev/rtp1 without problems.
 
Now i try to write from this process to = the=20 realtime process using the /dev/rtp2.
The rt_pipe_read() returns a = -ENOBUFS.
 
here the call (dirty copy): =
 
struct = struct_FIFO_Header {
 unsigned=20 short ID;
 unsigned short Size;
 };
struct_FIFO_Header _Header;
   
ret =3D=20 rt_pipe_read(&pipe_read,&_Header,sizeof(_Header),TM_NONBLOCK=20 );
 
ret is now -ENOBUFS
 
Ive done similar the same using rtai = without=20 problems.
anone an idea why it = occours?
 
Greets
  Maveric
 
 
 
------=_NextPart_000_0014_01C98204.27E09700--