Changeset 4f5edcf6 in mainline
- Timestamp:
- 2009-10-10T21:32:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f53cc81
- Parents:
- 0772aff
- Location:
- uspace/lib/libc
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
r0772aff r4f5edcf6 94 94 #include <futex.h> 95 95 #include <async.h> 96 #include <async_priv.h> 96 97 #include <fibril.h> 97 98 #include <stdio.h> … … 109 110 /** Number of threads waiting for IPC in the kernel. */ 110 111 atomic_t threads_in_ipc_wait = { 0 }; 111 112 /** Structures of this type represent a waiting fibril. */113 typedef struct {114 /** Expiration time. */115 struct timeval expires;116 117 /** If true, this struct is in the timeout list. */118 bool inlist;119 120 /** Timeout list link. */121 link_t link;122 123 /** Identification of and link to the waiting fibril. */124 fid_t fid;125 126 /** If true, this fibril is currently active. */127 bool active;128 129 /** If true, we have timed out. */130 bool timedout;131 } awaiter_t;132 112 133 113 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.