Changeset c028b22 in mainline for uspace/lib/c/generic/ipc.c
- Timestamp:
- 2011-07-08T17:01:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc1a727
- Parents:
- 4e36219 (diff), 026793d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/ipc.c
r4e36219 rc028b22 458 458 while (!list_empty(&queued_calls)) { 459 459 async_call_t *call = 460 list_get_instance( queued_calls.next, async_call_t, list);460 list_get_instance(list_first(&queued_calls), async_call_t, list); 461 461 ipc_callid_t callid = 462 462 ipc_call_async_internal(call->u.msg.phoneid, &call->u.msg.data); … … 511 511 512 512 link_t *item; 513 for (item = dispatched_calls. next; item != &dispatched_calls;513 for (item = dispatched_calls.head.next; item != &dispatched_calls.head; 514 514 item = item->next) { 515 515 async_call_t *call = … … 632 632 } 633 633 634 /** Request cloned connection. 635 * 636 * @param phoneid Phone handle used for contacting the other side. 637 * 638 * @return Cloned phone handle on success or a negative error code. 639 * 640 */ 641 int ipc_connect_me(int phoneid) 642 { 643 sysarg_t newphid; 644 int res = ipc_call_sync_0_5(phoneid, IPC_M_CONNECT_ME, NULL, NULL, 645 NULL, NULL, &newphid); 646 if (res) 647 return res; 648 649 return newphid; 650 } 651 634 652 /** Request new connection. 635 653 *
Note:
See TracChangeset
for help on using the changeset viewer.