Changeset 1be7bee in mainline for uspace/lib/c/generic/async/client.c
- Timestamp:
- 2019-08-07T04:20:30Z (6 years ago)
- Children:
- 70d28e8
- Parents:
- fe86d9d
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-10-05 21:17:40)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 04:20:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/client.c
rfe86d9d r1be7bee 174 174 175 175 if (session != NULL) { 176 // TODO extract common part with async_connect_me_to 176 177 session_ns->iface = 0; 177 178 session->mgmt = EXCHANGE_ATOMIC; … … 195 196 196 197 /** Initialize the async framework. 197 * 198 */ 199 void __async_client_init(async_sess_t *session) 198 * @param arg_session_primary Primary session (to naming service). 199 * 200 */ 201 void __async_client_init(async_sess_t *arg_session_primary) 200 202 { 201 203 if (fibril_rmutex_initialize(&message_mutex) != EOK) 202 204 abort(); 203 205 204 if ( session== NULL) {206 if (arg_session_primary == NULL) { 205 207 session_primary = create_session_primary(); 206 208 } else { 207 session_primary = session;209 session_primary = arg_session_primary; 208 210 } 209 211
Note:
See TracChangeset
for help on using the changeset viewer.