Changeset a056b96 in tol
- Timestamp:
- Mar 13, 2012, 1:22:24 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 7cf1759
- Parents:
- 589877d
- File:
-
- 1 edited
-
tol/init.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/init.cpp
r589877d ra056b96 69 69 #include <contrib/cint/tolCint.h> 70 70 71 #include <time.h> 72 71 73 72 74 #ifdef _DEBUG … … 225 227 //-------------------------------------------------------------------- 226 228 { 227 Error("SIGNAL: Interactive attention signal; on interactive systems this is usually generated by typing some break-in key at the terminal. (Interrupt.)"); 228 //Error_UnexpectedTolEnd(); 229 StopFlagOn(); 230 //exit(sig); 229 static time_t *tm0 = NULL; 230 time_t tm1 = time( NULL ); 231 232 if ( tm0 && (tm1 - *tm0) < 1 ) { 233 Error("SIGNAL: Interactive attention signal; on interactive systems this is usually generated by typing some break-in key at the terminal. (Exit application)"); 234 exit(sig); 235 } else { 236 Error("SIGNAL: Interactive attention signal; on interactive systems this is usually generated by typing some break-in key at the terminal. (Stop evaluation)"); 237 //Error_UnexpectedTolEnd(); 238 StopFlagOn(); 239 if ( !tm0 ) { 240 tm0 = new time_t; 241 } 242 time( tm0 ); 243 } 231 244 }; 232 245
Note: See TracChangeset
for help on using the changeset viewer.
