RTT::FileDescriptorActivity and hasError()
Matthias Goldhoorn <[email protected]> Fri, 05 Sep 2014 10:14:52 +0200
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Organization | DFKI Bremen |
| Message-ID | <[email protected]> |
i just discovered that the RTT::FileDescriptorActivity::hasError() function returns true if a file descriptor read was interrupted by a System interrupt. (errno -4), this is afaik not a error in general, the hasError() function should only return critical errors, from my point of view if a read is too often interrupted the timeout should catch. I would like therefore to modify the function that errnor -4 is ignored. Thougts? Best, Matthias -- -- Matthias Goldhoorn Unterwasserrobotik Standort Bremen: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359 Bremen, Germany Phone: +49 (0)421 218-64100 Fax: +49 (0)421 218-64150 E-Mail: [email protected] Weitere Informationen: http://www.dfki.de/robotik ----------------------------------------------------------------------- Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 Sitz der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973 Steuernummer: 19/673/0060/3 ----------------------------------------------------------------------- -- Orocos-Dev mailing list [email protected] http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev