async.hh (4073:62f6ab072e2e) | async.hh (4123:9c80390ea1bb) |
---|---|
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; --- 29 unchanged lines hidden (view full) --- 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. | 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; --- 29 unchanged lines hidden (view full) --- 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_dump; ///< Async request to dump stats. | 46extern volatile bool async_statdump; ///< Async request to dump stats. 47extern volatile bool async_statreset; ///< Async request to reset stats. |
47extern volatile bool async_exit; ///< Async request to exit simulator. 48extern volatile bool async_io; ///< Async I/O request (SIGIO). 49extern volatile bool async_alarm; ///< Async alarm event (SIGALRM). 50extern volatile bool async_exception; ///< Python exception. 51//@} 52 53#endif // __ASYNC_HH__ | 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__ |