main.cc (4046:ef34b290091e) | main.cc (4073:62f6ab072e2e) |
---|---|
1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 68 unchanged lines hidden (view full) --- 77 78// See async.h. 79volatile bool async_event = false; 80volatile bool async_dump = false; 81volatile bool async_dumpreset = false; 82volatile bool async_exit = false; 83volatile bool async_io = false; 84volatile bool async_alarm = false; | 1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 68 unchanged lines hidden (view full) --- 77 78// See async.h. 79volatile bool async_event = false; 80volatile bool async_dump = false; 81volatile bool async_dumpreset = false; 82volatile bool async_exit = false; 83volatile bool async_io = false; 84volatile bool async_alarm = false; |
85volatile bool async_exception = false; |
|
85 86/// Stats signal handler. 87void 88dumpStatsHandler(int sigtype) 89{ 90 async_event = true; 91 async_dump = true; 92} --- 273 unchanged lines hidden (view full) --- 366 exitSimLoop("user interrupt received"); 367 } 368 369 if (async_io || async_alarm) { 370 async_io = false; 371 async_alarm = false; 372 pollQueue.service(); 373 } | 86 87/// Stats signal handler. 88void 89dumpStatsHandler(int sigtype) 90{ 91 async_event = true; 92 async_dump = true; 93} --- 273 unchanged lines hidden (view full) --- 367 exitSimLoop("user interrupt received"); 368 } 369 370 if (async_io || async_alarm) { 371 async_io = false; 372 async_alarm = false; 373 pollQueue.service(); 374 } |
375 376 if (async_exception) { 377 async_exception = false; 378 return NULL; 379 } |
|
374 } 375 } 376 377 // not reached... only exit is return on SimLoopExitEvent 378} 379 380Event * 381createCountedDrain() --- 86 unchanged lines hidden --- | 380 } 381 } 382 383 // not reached... only exit is return on SimLoopExitEvent 384} 385 386Event * 387createCountedDrain() --- 86 unchanged lines hidden --- |