Changes in uspace/lib/c/generic/async.c [ab34cc9:b76a7329] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async.c
rab34cc9 rb76a7329 98 98 #include <ipc/ipc.h> 99 99 #include <async.h> 100 #include "private/async.h" 100 101 #undef LIBC_ASYNC_C_ 101 102 … … 113 114 #include <stdlib.h> 114 115 #include <macros.h> 115 #include "private/async.h"116 116 117 117 #define CLIENT_HASH_TABLE_BUCKETS 32 … … 1472 1472 return ENOENT; 1473 1473 1474 task_id_t task_id; 1475 sysarg_t task_id_lo; 1476 sysarg_t task_id_hi; 1474 1477 sysarg_t phone_hash; 1475 sysarg_t rc; 1476 1477 aid_t req; 1478 ipc_call_t answer; 1479 req = async_send_3(exch, IPC_M_CONNECT_TO_ME, arg1, arg2, arg3, 1480 &answer); 1481 async_wait_for(req, &rc); 1478 int rc = async_req_3_5(exch, IPC_M_CONNECT_TO_ME, arg1, arg2, arg3, 1479 NULL, NULL, &task_id_lo, &task_id_hi, &phone_hash); 1482 1480 if (rc != EOK) 1483 return (int)rc;1484 1485 phone_hash = IPC_GET_ARG5(answer);1486 1481 return rc; 1482 1483 task_id = (task_id_t) MERGE_LOUP32(task_id_lo, task_id_hi); 1484 1487 1485 if (client_receiver != NULL) 1488 async_new_connection( answer.in_task_id, phone_hash, 0, NULL,1486 async_new_connection(task_id, phone_hash, 0, NULL, 1489 1487 client_receiver, carg); 1490 1488
Note:
See TracChangeset
for help on using the changeset viewer.