Changes in / [2e07d27e:67392fa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
r2e07d27e r67392fa 392 392 /* If nothing in queue, wait until something arrives */ 393 393 while (list_empty(&conn->msg_queue)) { 394 if (conn->close_callid) {395 /*396 * Handle the case when the connection was already397 * closed by the client but the server did not notice398 * the first IPC_M_PHONE_HUNGUP call and continues to399 * call async_get_call_timeout(). Repeat400 * IPC_M_PHONE_HUNGUP until the caller notices.401 */402 memset(call, 0, sizeof(ipc_call_t));403 IPC_SET_METHOD(*call, IPC_M_PHONE_HUNGUP);404 futex_up(&async_futex);405 return conn->close_callid;406 }407 408 394 if (usecs) 409 395 async_insert_timeout(&conn->wdata); … … 542 528 list_initialize(&conn->msg_queue); 543 529 conn->callid = callid; 544 conn->close_callid = 0;530 conn->close_callid = false; 545 531 546 532 if (call)
Note:
See TracChangeset
for help on using the changeset viewer.