Changeset 5be6361 in mainline
- Timestamp:
- 2019-10-06T19:47:36Z (5 years ago)
- Children:
- 7ffdcbd
- Parents:
- 03daabd
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-09-17 08:01:31)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-10-06 19:47:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/taskman.c
r03daabd r5be6361 60 60 61 61 async_exch_t *exch = async_exchange_begin(session_taskman); 62 assert(exch); 63 62 64 return exch; 63 65 } … … 97 99 async_sess_t *taskman_session_ns(void) 98 100 { 99 assert(session_taskman); 100 101 async_exch_t *exch = async_exchange_begin(session_taskman); 102 assert(exch); 101 async_exch_t *exch = taskman_exchange_begin(); 103 102 104 103 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_NS, 105 104 TASKMAN_CONNECT_TO_NS, 0); 106 async_exchange_end(exch);105 taskman_exchange_end(exch); 107 106 108 107 return sess; … … 112 111 async_sess_t *taskman_session_loader(void) 113 112 { 114 assert(session_taskman); 115 116 async_exch_t *exch = async_exchange_begin(session_taskman); 113 async_exch_t *exch = taskman_exchange_begin(); 117 114 async_sess_t *sess = async_connect_me_to(exch, INTERFACE_LOADER, 118 115 TASKMAN_CONNECT_TO_LOADER, 0); 119 async_exchange_end(exch);116 taskman_exchange_end(exch); 120 117 121 118 return sess; … … 137 134 errno_t taskman_intro_loader(void) 138 135 { 139 assert(session_taskman); 140 141 async_exch_t *exch = async_exchange_begin(session_taskman); 136 async_exch_t *exch = taskman_exchange_begin(); 142 137 errno_t rc = async_connect_to_me(exch, INTERFACE_LOADER, TASKMAN_LOADER_CALLBACK, 0); 143 async_exchange_end(exch);138 taskman_exchange_end(exch); 144 139 145 140 return rc; … … 152 147 errno_t taskman_intro_ns(void) 153 148 { 154 assert(session_taskman); 155 156 async_exch_t *exch = async_exchange_begin(session_taskman); 149 async_exch_t *exch = taskman_exchange_begin(); 157 150 aid_t req = async_send_0(exch, TASKMAN_I_AM_NS, NULL); 158 151
Note:
See TracChangeset
for help on using the changeset viewer.