Changeset 3c22f70 in mainline for uspace/lib/c/generic/async.c
- Timestamp:
- 2011-01-24T00:14:13Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c9b742
- Parents:
- 11bb813
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
r11bb813 r3c22f70 139 139 link_t link; 140 140 141 /** Incoming client task hash. */ 142 sysarg_t in_task_hash; 141 143 /** Incoming phone hash. */ 142 144 sysarg_t in_phone_hash; … … 517 519 * particular fibrils. 518 520 * 521 * @param in_task_hash Identification of the incoming connection. 519 522 * @param in_phone_hash Identification of the incoming connection. 520 523 * @param callid Hash of the opening IPC_M_CONNECT_ME_TO call. … … 529 532 * 530 533 */ 531 fid_t async_new_connection(sysarg_t in_phone_hash, ipc_callid_t callid, 532 ipc_call_t *call, void (*cfibril)(ipc_callid_t, ipc_call_t *)) 534 fid_t async_new_connection(sysarg_t in_task_hash, sysarg_t in_phone_hash, 535 ipc_callid_t callid, ipc_call_t *call, 536 void (*cfibril)(ipc_callid_t, ipc_call_t *)) 533 537 { 534 538 connection_t *conn = malloc(sizeof(*conn)); … … 539 543 } 540 544 545 conn->in_task_hash = in_task_hash; 541 546 conn->in_phone_hash = in_phone_hash; 542 547 list_initialize(&conn->msg_queue); … … 592 597 case IPC_M_CONNECT_ME_TO: 593 598 /* Open new connection with fibril etc. */ 594 async_new_connection( IPC_GET_ARG5(*call), callid, call,595 c lient_connection);599 async_new_connection(call->in_task_hash, IPC_GET_ARG5(*call), 600 callid, call, client_connection); 596 601 goto out; 597 602 }
Note:
See TracChangeset
for help on using the changeset viewer.