Changeset f53cc81 in mainline for uspace/lib/libc/include/async_priv.h
- Timestamp:
- 2009-10-10T21:50:22Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b6ee5b1
- Parents:
- 4f5edcf6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/async_priv.h
r4f5edcf6 rf53cc81 41 41 #include <bool.h> 42 42 43 /** Structures of this type represent a waiting fibril. */43 /** Structures of this type are used to track the timeout events. */ 44 44 typedef struct { 45 /** Expiration time. */46 struct timeval expires;47 48 45 /** If true, this struct is in the timeout list. */ 49 46 bool inlist; … … 52 49 link_t link; 53 50 51 /** If true, we have timed out. */ 52 bool occurred; 53 54 /** Expiration time. */ 55 struct timeval expires; 56 } to_event_t; 57 58 /** Structures of this type represent a waiting fibril. */ 59 typedef struct { 54 60 /** Identification of and link to the waiting fibril. */ 55 61 fid_t fid; … … 57 63 /** If true, this fibril is currently active. */ 58 64 bool active; 59 60 /** If true, we have timed out. */61 bool timedout;65 66 /** Timeout wait data. */ 67 to_event_t to_event; 62 68 } awaiter_t; 63 69
Note:
See TracChangeset
for help on using the changeset viewer.