1/* 2 * Copyright (c) 2003-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; --- 28 unchanged lines hidden (view full) --- 37/// This file defines flags used to handle asynchronous simulator events. 38/// 39 40/// @name Asynchronous event flags. 41/// To avoid races, signal handlers simply set these flags, which are 42/// then checked in the main event loop. Defined in main.cc. 43/// @note See the PollQueue object (in pollevent.hh) for the use of async_io and async_alarm. 44//@{ |
45extern volatile bool async_event; ///< Some asynchronous event has happened. 46extern volatile bool async_statdump; ///< Async request to dump stats. 47extern volatile bool async_statreset; ///< Async request to reset stats. 48extern volatile bool async_exit; ///< Async request to exit simulator. 49extern volatile bool async_io; ///< Async I/O request (SIGIO). 50extern volatile bool async_alarm; ///< Async alarm event (SIGALRM). |
51extern volatile bool async_exception; ///< Python exception. 52//@} 53 54#endif // __ASYNC_HH__ |