#linuxcnc-devel Logs

Aug 26 2018

#linuxcnc-devel Calendar

07:16 AM Jin|away is now known as Jin^eLD
07:19 AM Jin^eLD: what is the correct way to signal a fatal error in a component? i.e. when memory allocation failed or something non recoverable happens?
10:42 AM hazzy-lab1 is now known as hazzy-lab
04:23 PM Jin^eLD is now known as Jin|away
07:12 PM jepler: Jin|away: return a negative errno value from rtapi_app_main in the case that initialization doesn't complete. For failures during realtime (which means you can't have a memory allocation error!) select some way that a user can hook it into their estop loop in linuxcnc, possibly via classicladder or other hal logic. Truly nonrecoverable without restarting stuff that occurs at runtime we don't
07:13 PM jepler: handle real well, we assume you can go to estop and fix anything, or that you just know to just shut down linuxcnc / the whole PC in special cases