Changeset 21:eb59943050c9 in xplcommon for src/xplcommon/posix/Waitable.h
- Timestamp:
- 12/31/12 14:17:32 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/Waitable.h
r14 r21 93 93 94 94 /** 95 * Indicate if this waitable is valid, i.e. the file descriptor is96 * non-negative.97 */98 bool isValid() const;99 100 /**101 95 * Determine if the waitable is ready or not, i.e. if there is no 102 96 * need to wait for it. … … 143 137 //------------------------------------------------------------------------------ 144 138 145 inline bool Waitable::isValid() const146 {147 return fd>=0;148 }149 150 //------------------------------------------------------------------------------151 152 139 inline bool Waitable::ready() 153 140 {
Note:
See TracChangeset
for help on using the changeset viewer.