Changeset 8:dba41f33ddce in xplcommon for src/xplcommon/posix/WaitableEvent.h
- Timestamp:
- 12/29/12 08:01:50 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/WaitableEvent.h
r6 r8 34 34 #include "Waitable.h" 35 35 36 #include "../Failable.h" 37 36 38 //------------------------------------------------------------------------------ 37 39 … … 43 45 * An event on which one can wait with a waiter. 44 46 */ 45 class WaitableEvent : public Waitable 47 class WaitableEvent : public Waitable, public Failable 46 48 { 47 49 private: … … 83 85 */ 84 86 virtual void handleEvents(short events); 87 88 private: 89 /** 90 * Perform the real check. If we already know that we are fired, 91 * just return true. Otherwise try to read from the event fd. 92 */ 93 bool doCheck(bool fromHandleEvents = false); 85 94 }; 86 95
Note:
See TracChangeset
for help on using the changeset viewer.