What version of RTL, what processor, what version of Linux?

On Mon, Jul 23, 2001 at 02:46:40PM -0400, alex @UofT wrote:
> hi.
> I ran here into serious problems. My system crashs every time I read from the
> FIFOS while doing - lets say - cat a textfile.
> Without "touching" the system while reading from the fifos it usually crahs
> after a while (coupple of minutes).
> the rtlinux task itself is stable.
> If someone has a hint, I would very very appreciate this.
> In my opinion the linux rtfofo readprogramm seems to be pretty o.k. - quite
> nothing is done.
> 
> alexander
> 
> the linux fifo read file is like this:
>  
> #include <stdio.h>
> #include <fcntl.h>
> #include <unistd.h>
> int i;
> unsigned short value[8];
> unsigned int counter;
> int main()
> {
> int rtf10;
> if ((rtf10 = open("/dev/rtf10", O_RDONLY)) < 0) {
>       printf("Error opening /dev/rtf10\n");
>       exit(1);
>       }
> while (1) {
>       for (i=0;i<8;i++) read(rtf10,&value[i],2);
>       read(rtf10,&counter,4)
>       }
> return 0;
> }
> 
> ----- End of forwarded message from [EMAIL PROTECTED] -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to