Changes in / [67392fa:2e07d27e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/async.c
r67392fa r2e07d27e 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 already 397 * closed by the client but the server did not notice 398 * the first IPC_M_PHONE_HUNGUP call and continues to 399 * call async_get_call_timeout(). Repeat 400 * 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 394 408 if (usecs) 395 409 async_insert_timeout(&conn->wdata); … … 528 542 list_initialize(&conn->msg_queue); 529 543 conn->callid = callid; 530 conn->close_callid = false;544 conn->close_callid = 0; 531 545 532 546 if (call)
Note:
See TracChangeset
for help on using the changeset viewer.