Re: Bugs in FIFO handling
"Trever L. Adams" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Trever L. Adams wrote: > However, there are now other FIFO handling bugs. Using output > statements and other tests I am fairly certain these are in crm and > not the Linux Kernel (kernel-2.6.27.5-117.fc10.x86_64). Again, this is > a dual core Athlon 64 machine with 4 gigabytes of memory. > > CRM on reading a FIFO, if the data comes too quickly loses data (input > <byline>). Lines are always complete, but some lines are lost. Hello Everyone and Joyous Christmas and/or Hanukkah, I found the problem with the FIFOs. The problem is that I was reading from the FIFO, but not as a redirection to stdin. I was doing it like so: input <byline> [ :*:pipe: ] (:mydata:) This doesn't work, at least on Linux, because crm114 keeps closing the file. Whenever it closes the file (every time the input completes, I believe), the kernel drops whatever data is in the buffer. I do not think this is good as some programs may need multiple FIFOs. I do not, so for now, I am just doing redirection and now my program works perfectly. Trever Adams ------------------------------------------------------------------------------ _______________________________________________ Crm114-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crm114-general
signature.asc
(application/pgp-signature, 259 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklTTqEACgkQTmpiivh5HXPbbQCgr6L06899z4XudhHo7O2XjsZX 2CsAoJ3nNzyoYvd1so6OeH+EX5RgpNGi =qkHW -----END PGP SIGNATURE-----