[cvs-nhc98] Portable tracing: corrected interruption of traced program

User olaf olaf@sparud.net
Thu, 14 Mar 2002 20:16:47 +0100 (CET)


olaf: Thu Mar 14 20:16:47 CET 2002

Update of /usr/src/master/nhc/src/hat/lib
In directory hinken:/tmp/cvs-serv29639

Modified Files:
	hat.c 
Log Message:
Portable tracing: corrected interruption of traced program by Control-C.

In the previous version interruption sometimes led to corrupted trace files. The reason was that the interrupt happened in the middle of writing a node to file. Now the interruption is just marked in a variable and only creation of a SatB checks this variable and possibly aborts. An infinite computation will always enter functions and hence create SatBs. A side effect is that the parent of the interruption error message is always _|_.