Changes in uspace/lib/c/generic/ns.c [9934f7d:d1e18573] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ns.c
r9934f7d rd1e18573 52 52 { 53 53 async_exch_t *exch = async_exchange_begin(session_ns); 54 if (!exch) 55 return NULL; 54 56 async_sess_t *sess = 55 57 async_connect_me_to(mgmt, exch, service, arg2, arg3); 56 58 async_exchange_end(exch); 59 60 if (!sess) 61 return NULL; 62 63 /* 64 * FIXME Ugly hack to work around limitation of implementing 65 * parallel exchanges using multiple connections. Shift out 66 * first argument for non-initial connections. 67 */ 68 async_sess_args_set(sess, arg2, arg3, 0); 57 69 58 70 return sess; … … 66 78 async_connect_me_to_blocking(mgmt, exch, service, arg2, arg3); 67 79 async_exchange_end(exch); 80 81 /* 82 * FIXME Ugly hack to work around limitation of implementing 83 * parallel exchanges using multiple connections. Shift out 84 * first argument for non-initial connections. 85 */ 86 async_sess_args_set(sess, arg2, arg3, 0); 68 87 69 88 return sess;
Note:
See TracChangeset
for help on using the changeset viewer.