Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
5.15.10 VxWorks
-
None
Description
VxWorks needs to have some extra handling for process shutdown when threads are involved.
Qt already handles the EDOOM error and makes sure everything is correctly cleaned up.
But aside from this special case no other errors are handled, so when poll fails e.g. due to filehandles being corrupted or because of running out of memory, these errors are ignored. Instead of ignoring the errors the erros should be reported and the eventloop should be stopped. The only case where it is legitimate to ignore the error and just repeat the poll call is when the error is EINTR.