Changes in uspace/lib/c/generic/private/async.h [b76a7329:7171760] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/async.h
rb76a7329 r7171760 36 36 #define LIBC_PRIVATE_ASYNC_H_ 37 37 38 #include < async.h>38 #include <ipc/common.h> 39 39 #include <adt/list.h> 40 40 #include <fibril.h> 41 #include <fibril_synch.h>42 41 #include <sys/time.h> 43 42 #include <bool.h> 44 45 /** Session data */46 struct _async_sess {47 /** List of inactive exchanges */48 list_t exch_list;49 50 /** Exchange management style */51 exch_mgmt_t mgmt;52 53 /** Session identification */54 int phone;55 56 /** First clone connection argument */57 sysarg_t arg1;58 59 /** Second clone connection argument */60 sysarg_t arg2;61 62 /** Third clone connection argument */63 sysarg_t arg3;64 65 /** Exchange mutex */66 fibril_mutex_t mutex;67 68 /** Number of opened exchanges */69 atomic_t refcnt;70 };71 72 /** Exchange data */73 struct _async_exch {74 /** Link into list of inactive exchanges */75 link_t sess_link;76 77 /** Link into global list of inactive exchanges */78 link_t global_link;79 80 /** Session pointer */81 async_sess_t *sess;82 83 /** Exchange identification */84 int phone;85 };86 43 87 44 /** Structures of this type are used to track the timeout events. */
Note:
See TracChangeset
for help on using the changeset viewer.