Re: [Xenomai-core] -EINTR using rt_pipe_read with TM_INFINITE

2006-08-10 Thread Dmitry Adamushko
Hello, take a look at the 4-th parameter of rt_pipe_create() : @param poolsize Specifies the size of a dedicated buffer pool for the  * pipe. Passing 0 means that all message allocations for this pipe are  * performed on the system heap. The system heap is also used for other allocations and not

Re: [Xenomai-core] -EINTR using rt_pipe_read with TM_INFINITE

2006-08-10 Thread Jacques GANGLOFF
> > That looks like a correct behaviour to me: the kernel module is trying to read from pipe1 (MyPipe0, /dev/rtp0) and is blocked on it. The user-space tool tries to do the same (is this intended BTW?). Then the user-space program gets terminate, thus pipe1 is cleaned up. During that cleanup all RT

Re: [Xenomai-core] -EINTR using rt_pipe_read with TM_INFINITE

2006-08-09 Thread Jan Kiszka
Jacques GANGLOFF wrote: > Hi, > > I did this little test : > > Below I have attached two sources, one on the kernel side and one on the > user side. > I do here a very simple fifo handshaking test. I insert the kernel module > then I run the user program. When I do the test with the "THE BUG IS H

RE : [Xenomai-core] -EINTR using rt_pipe_read with TM_INFINITE

2006-08-09 Thread Jacques GANGLOFF
Hello, I tested this with xenomai version V2.1.2 and V2.2 : same behavior. Regards, Jacques ___ Prof. Jacques GANGLOFF Strasbourg I University LSIIT Laboratory, EAVR team Bd S. Brant BP 10413, 67412 ILLKIRCH cedex, FRANCE Tel : +33 (0