can-utils icon indicating copy to clipboard operation
can-utils copied to clipboard

Fix signal handler

Open elfring opened this issue 8 years ago • 6 comments

The function “exit” does not belong to the list of async-signal-safe functions. I guess that a different program design will be needed for your function “printstats”.

elfring avatar Oct 28 '17 09:10 elfring

What do you suggest? Use _exit() instead?

marckleinebudde avatar Nov 06 '17 14:11 marckleinebudde

Use _exit() instead?

This could be one possibility.

Would you like to consider other software design options?

elfring avatar Nov 23 '17 11:11 elfring

send patches

marckleinebudde avatar Nov 23 '17 12:11 marckleinebudde

I would prefer to clarify acceptable software design directions before contributing patches in a source code format.

elfring avatar Nov 23 '17 12:11 elfring

I'm not familiar with your proposed alternatives, please illustrate them in form of patches, etc...

marckleinebudde avatar Nov 23 '17 12:11 marckleinebudde

The proposed alternatives are already illustrated by other information sources. Would you like to become more familiar with the choices?

elfring avatar Nov 23 '17 13:11 elfring